From 0c463acbc107fe97cd2be9c036e8c09f2c9d84a9 Mon Sep 17 00:00:00 2001 From: darkstar Date: Wed, 21 Feb 2018 20:21:21 +0100 Subject: [PATCH] MSVC: Fix preprocessor test for Visual Studio --- src/cpu/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index 89e93a5..5a0b018 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -265,7 +265,7 @@ struct _cpustate_ { #define CPU_STATUS_NOTFLATSS (1 << 17) #define CPU_STATUS_MASK 0xffff0000 -#ifdef __MSC__ +#ifdef _MSC_VER # define COMPILE_TIME_ASSERT(expr) /*nada*/ #else # define COMPILE_TIME_ASSERT(expr) typedef char COMP_TIME_ASSERT[(expr) ? 1 : 0];