From: Mikko Rasa Date: Sun, 29 Aug 2021 08:18:20 +0000 (+0300) Subject: Fix incorrect MSVC check X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=73e50b0c608292113512de4be35737facc77d9ef;p=libs%2Fcore.git Fix incorrect MSVC check --- diff --git a/source/core/attributes.h b/source/core/attributes.h index 6531698..31cbd4a 100644 --- a/source/core/attributes.h +++ b/source/core/attributes.h @@ -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