From b99206803156d4bdfe4ce0c83a2db8f9486e09d4 Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Fri, 17 Sep 2021 10:42:40 -0400 Subject: [PATCH] qdefs: Check _MSC_VER instead of incorrect MSVC --- qdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdefs.h b/qdefs.h index fb942a45..5eed8b6f 100644 --- a/qdefs.h +++ b/qdefs.h @@ -14,7 +14,7 @@ #define DP_FUNC_PRINTF(n) #define DP_FUNC_PURE #define DP_FUNC_NORETURN -# if defined (MSVC) +# if defined (_MSC_VER) # define DP_FUNC_ALWAYSINLINE __forceinline # else # define DP_FUNC_ALWAYS_INLINE inline @@ -23,7 +23,7 @@ #ifdef DP_GCC_COMPATIBLE #define Q_typeof(var) typeof(var) -#elif defined (MSVC) +#elif defined (_MSC_VER) #define Q_typeof(var) decltype(var) #endif -- 2.39.2