summaryrefslogtreecommitdiff
path: root/zen/deprecate.h
diff options
context:
space:
mode:
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