fix bad TR_DEPRECATED macro on clang :P

This commit is contained in:
Jordan Lee 2016-03-29 16:01:41 +00:00
parent 8d38442cc1
commit 77b5105ea0
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@
extern "C" {
#endif
#if defined(__clang__)
#define TR_DEPRECATED __attribute__((gnu::deprecated))
#elif defined(__GNUC__)
#if defined(__GNUC__)
#define TR_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define TR_DEPRECATED __declspec(deprecated)