# HG changeset patch # User Sam Lantinga # Date 1299564250 28800 # Node ID 58630b98eb639e415e0b846447250e10a010508d # Parent 1a6f882e4a559a1614fb7506180dac80e05dd10e The MMX and 3DNow! instructions can't be compiled by 64-bit Visual Studio. diff -r 1a6f882e4a55 -r 58630b98eb63 include/SDL_cpuinfo.h --- a/include/SDL_cpuinfo.h Mon Mar 07 22:03:29 2011 -0800 +++ b/include/SDL_cpuinfo.h Mon Mar 07 22:04:10 2011 -0800 @@ -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)