summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
blob: 49d8386bfa878a3225e21b04e278ee7d2dcda3e1 (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-3.0        *
// * Copyright (C) Zenju (zenju 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