Add generic deprecated macro
This commit is contained in:
parent
be71b9edb4
commit
4cfd07df38
@ -27,6 +27,8 @@ extern "C"{
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#define DEPRECATED(str) __attribute__((deprecated(str)))
|
||||
#else
|
||||
#define DEPRECATED(str)
|
||||
#endif
|
||||
|
||||
#ifndef RJP_int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user