Don't assume _MSC_VER / _WIN32 mean x86/x64.

This commit is contained in:
Unknown W. Brackets committed 2016-01-03 15:07:36 -08:00
1 parent 055aa0c881
commit d165680ee7
2 files changed
+5 -7

No files matched your search

+3 -3
View File
@@ -120,7 +120,9 @@ private:
#define __chdir chdir
#endif
#if defined __GNUC__
#if !defined(__GNUC__) && (defined(_M_X64) || defined(_M_IX86))
# define _M_SSE 0x402
#else
# if defined __SSE4_2__
# define _M_SSE 0x402
# elif defined __SSE4_1__
@@ -132,8 +134,6 @@ private:
# elif defined __SSE2__
# define _M_SSE 0x200
# endif
#elif ((_MSC_VER >= 1500) || __INTEL_COMPILER) && !defined(_XBOX) // Visual Studio 2008
# define _M_SSE 0x402
#endif
#include "Swap.h"