From 68f96d0746aaddfae8bb80ab81f62e7b22b813e4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Mar 2011 22:04:10 -0800 Subject: [PATCH] The MMX and 3DNow! instructions can't be compiled by 64-bit Visual Studio. --- include/SDL_cpuinfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h index 9ac4b9936..54e97b900 100644 --- a/include/SDL_cpuinfo.h +++ b/include/SDL_cpuinfo.h @@ -35,8 +35,10 @@ /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE) #include +#ifndef _WIN64 #define __MMX__ #define __3dNOW__ +#endif #define __SSE__ #define __SSE2__ #elif defined(__MINGW64_VERSION_MAJOR)