summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
blob: 56f8e27ca3d24281b2bc0b1f1f42a43ecc6415a5 (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 (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