Commit a17d0eb5 authored by Sam Lantinga's avatar Sam Lantinga

The MMX and 3DNow! instructions can't be compiled by 64-bit Visual Studio.

parent 4030919e
...@@ -35,8 +35,10 @@ ...@@ -35,8 +35,10 @@
/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */ /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
#if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE) #if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE)
#include <intrin.h> #include <intrin.h>
#ifndef _WIN64
#define __MMX__ #define __MMX__
#define __3dNOW__ #define __3dNOW__
#endif
#define __SSE__ #define __SSE__
#define __SSE2__ #define __SSE2__
#elif defined(__MINGW64_VERSION_MAJOR) #elif defined(__MINGW64_VERSION_MAJOR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment