diff options
Diffstat (limited to 'zen/deprecate.h')
-rw-r--r-- | zen/deprecate.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/zen/deprecate.h b/zen/deprecate.h new file mode 100644 index 00000000..3481a062 --- /dev/null +++ b/zen/deprecate.h @@ -0,0 +1,20 @@ +// ************************************************************************** +// * 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) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** + +#ifndef DEPRECATE_HEADER_2348970348 +#define DEPRECATE_HEADER_2348970348 + +#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 |