Add generic deprecated macro

This commit is contained in:
rexy712 2019-10-30 02:56:36 -07:00
parent be71b9edb4
commit 4cfd07df38

View File

@ -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