From bf25b17ea9cf8e678e44d481c546b3e54465fc15 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 26 Dec 2017 18:09:19 -1000 Subject: [PATCH] Fix architecture detection macros for Windows --- include/zeus/Math.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/zeus/Math.hpp b/include/zeus/Math.hpp index 948ba36..eb161e9 100644 --- a/include/zeus/Math.hpp +++ b/include/zeus/Math.hpp @@ -30,10 +30,10 @@ namespace zeus { -#if MSVC -#if defined(_M_X86) +#if _MSC_VER +#if defined(_M_IX86) #define ZEUS_ARCH_X86 1 -#elif defined(_M_X86_64) +#elif defined(_M_X64) #define ZEUS_ARCH_X86_64 1 #endif #else