]> www.ginac.de Git - ginac.git/blobdiff - ginac/compiler.h
Fix compilation of programs using __attribute__((deprecated)).
[ginac.git] / ginac / compiler.h
index 823e197b9449fdbea80f9915515bf4da47cfb3bd..04df6c9b69a8411e803c5e5ff3f4f9c8a3e72b38 100644 (file)
 #ifdef __GNUC__
 #define unlikely(cond) __builtin_expect((cond), 0)
 #define likely(cond) __builtin_expect((cond), 1)
-#define deprecated __attribute__ ((deprecated));
+#define attribute_deprecated __attribute__ ((deprecated))
 #else
 #define unlikely(cond) (cond)
 #define likely(cond) (cond)
-#define deprecated
+#define attribute_deprecated
 #endif
 
 #ifdef _MSC_VER