Prevent collisions in GCC attribute definitions

(cherry picked from commit 64848856002a796e30b822d70a31087495084bfa)
This commit is contained in:
Daniel M. Weeks authored and Carbenium committed 2015-04-15 19:29:35 +02:00
1 parent df4b175d68
commit 67faa0f458
1 file changed
+3 -3
+3 -3
View File
@@ -78,9 +78,9 @@
#endif //!COREDEBUG
#if COMPILER == COMPILER_GNU
# define ATTR_NORETURN __attribute__((noreturn))
# define ATTR_PRINTF(F, V) __attribute__ ((format (printf, F, V)))
# define ATTR_DEPRECATED __attribute__((deprecated))
# define ATTR_NORETURN __attribute__((__noreturn__))
# define ATTR_PRINTF(F, V) __attribute__ ((__format__ (__printf__, F, V)))
# define ATTR_DEPRECATED __attribute__((__deprecated__))
#else //COMPILER != COMPILER_GNU
# define ATTR_NORETURN
# define ATTR_PRINTF(F, V)