Fix architecture detection macros for Windows

This commit is contained in:
Jack Andersen 2017-12-26 18:09:19 -10:00
parent 9216f4e97f
commit bf25b17ea9
1 changed files with 3 additions and 3 deletions

View File

@ -30,10 +30,10 @@
namespace zeus namespace zeus
{ {
#if MSVC #if _MSC_VER
#if defined(_M_X86) #if defined(_M_IX86)
#define ZEUS_ARCH_X86 1 #define ZEUS_ARCH_X86 1
#elif defined(_M_X86_64) #elif defined(_M_X64)
#define ZEUS_ARCH_X86_64 1 #define ZEUS_ARCH_X86_64 1
#endif #endif
#else #else