Issue #370: work around Clang-on-windows oddities by rearranging ifdefs.

This commit is contained in:
Eric Haszlakiewicz
2017-10-22 22:19:41 -04:00
parent c9c84ca7ee
commit ac09581cc2

View File

@@ -15,10 +15,10 @@
#ifdef __GNUC__
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
#elif defined(__clang__)
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
#elif defined(_MSC_VER)
#define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func
#elif defined(__clang__)
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
#else
#define THIS_FUNCTION_IS_DEPRECATED(func) func
#endif