summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
blob: 33130710fe1df50fed298843257a7c110d28c05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// **************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl.html       *
// * Copyright (C) ZenJu (zhnmju123 AT gmx DOT de) - All Rights Reserved    *
// **************************************************************************

#ifndef DEPRECATE_HEADER_2348970348
#define DEPRECATE_HEADER_2348970348

//compiler macros: http://predef.sourceforge.net/precomp.html
#ifdef __GNUC__
#define ZEN_DEPRECATE __attribute__ ((deprecated))

#elif defined _MSC_VER
#define ZEN_DEPRECATE __declspec(deprecated)

#else
#error add your platform here!
#endif

#endif //DEPRECATE_HEADER_2348970348
bgstack15