Commit 71bfa7b3 authored by Jonathan Jenkins's avatar Jonathan Jenkins

don't redefine DEPRECATE macro

parent bf248d0f
...@@ -21,10 +21,12 @@ ...@@ -21,10 +21,12 @@
#define CATEGORY_MAX 12 #define CATEGORY_MAX 12
// simple deprecation attribute hacking // simple deprecation attribute hacking
#if defined(__GNUC__) || defined(__GNUG__) || defined(__clang__) #if !defined(DEPRECATED)
#define DEPRECATED __attribute__((deprecated)) # if defined(__GNUC__) || defined(__GNUG__) || defined(__clang__)
#else # define DEPRECATED __attribute__((deprecated))
#define DEPRECATED # else
# define DEPRECATED
# endif
#endif #endif
/* HACK: there is currently no scheduling fidelity across multiple /* HACK: there is currently no scheduling fidelity across multiple
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment