summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
commit2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0 (patch)
tree39d2d1eed28bf2c231839dd118905fb34327628d /zen/deprecate.h
parent9.9 (diff)
downloadFreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.gz
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.bz2
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.zip
10.0
Diffstat (limited to 'zen/deprecate.h')
-rwxr-xr-xzen/deprecate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zen/deprecate.h b/zen/deprecate.h
index 2a6bcb0d..1f4e6ab4 100755
--- a/zen/deprecate.h
+++ b/zen/deprecate.h
@@ -8,7 +8,11 @@
#define DEPRECATE_H_234897087787348
//compiler macros: http://predef.sourceforge.net/precomp.html
+#ifdef __GNUC__
#define ZEN_DEPRECATE __attribute__ ((deprecated))
+#else
+ #error add your platform here!
+#endif
#endif //DEPRECATE_H_234897087787348
bgstack15