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

don't redefine DEPRECATE macro

parent bf248d0f
......@@ -21,10 +21,12 @@
#define CATEGORY_MAX 12
// simple deprecation attribute hacking
#if defined(__GNUC__) || defined(__GNUG__) || defined(__clang__)
#define DEPRECATED __attribute__((deprecated))
#else
#define DEPRECATED
#if !defined(DEPRECATED)
# if defined(__GNUC__) || defined(__GNUG__) || defined(__clang__)
# define DEPRECATED __attribute__((deprecated))
# else
# define DEPRECATED
# endif
#endif
/* 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