include/SDL_cpuinfo.h
changeset 5450 58630b98eb63
parent 5407 40c9d744e595
child 5535 96594ac5fd1a
equal deleted inserted replaced
5449:1a6f882e4a55 5450:58630b98eb63
    33 
    33 
    34 /* Need to do this here because intrin.h has C++ code in it */
    34 /* Need to do this here because intrin.h has C++ code in it */
    35 /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
    35 /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
    36 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE)
    36 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE)
    37 #include <intrin.h>
    37 #include <intrin.h>
       
    38 #ifndef _WIN64
    38 #define __MMX__
    39 #define __MMX__
    39 #define __3dNOW__
    40 #define __3dNOW__
       
    41 #endif
    40 #define __SSE__
    42 #define __SSE__
    41 #define __SSE2__
    43 #define __SSE2__
    42 #elif defined(__MINGW64_VERSION_MAJOR)
    44 #elif defined(__MINGW64_VERSION_MAJOR)
    43 #include <intrin.h>
    45 #include <intrin.h>
    44 #else
    46 #else