summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
blob: 5cac14c398bc71bc75511e5948f5aedb3b3c49bf (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_H_234897087787348
#define DEPRECATE_H_234897087787348

//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_H_234897087787348
bgstack15