WinRT: made SDL.dll compile for ARM (and not just x86 or x64)
authorDavid Ludwig <dludwig@pobox.com>
Sat, 27 Oct 2012 18:39:09 -0400
changeset 8320e9db1532c340
parent 8319 3fee3e6b616b
child 8321 d95a438e6c84
WinRT: made SDL.dll compile for ARM (and not just x86 or x64)
include/SDL_cpuinfo.h
     1.1 --- a/include/SDL_cpuinfo.h	Sat Oct 27 18:21:31 2012 -0400
     1.2 +++ b/include/SDL_cpuinfo.h	Sat Oct 27 18:39:09 2012 -0400
     1.3 @@ -32,7 +32,7 @@
     1.4  
     1.5  /* Need to do this here because intrin.h has C++ code in it */
     1.6  /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
     1.7 -#if defined(_MSC_VER) && (_MSC_VER >= 1500)
     1.8 +#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64))
     1.9  #include <intrin.h>
    1.10  #ifndef _WIN64
    1.11  #define __MMX__