mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
fix bad TR_DEPRECATED macro on clang :P
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user