]> git.tdb.fi Git - libs/core.git/commitdiff
Fix incorrect MSVC check
authorMikko Rasa <tdb@tdb.fi>
Sun, 29 Aug 2021 08:18:20 +0000 (11:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 29 Aug 2021 08:18:20 +0000 (11:18 +0300)
source/core/attributes.h

index 653169850559c1f4709ebdc45065024e5eff936a..31cbd4ac098908cf6dc577b167f11985ec77a846 100644 (file)
@@ -5,7 +5,7 @@
 #define DEPRECATED [[deprecated]]
 #elif defined(__GNUC__)
 #define DEPRECATED __attribute__((deprecated))
-#elif defined(__MSC_VER)
+#elif defined(_MSC_VER)
 #define DEPRECATED __declspec(deprecated)
 #endif