Only include Intel intrinsics header on x86 and x64
authorSam Lantinga <slouken@libsdl.org>
Sat, 11 Nov 2017 16:20:00 -0800
changeset 11699afe271f50c70
parent 11698 c5ae532b96d0
child 11700 57a894f4028f
Only include Intel intrinsics header on x86 and x64
include/SDL_cpuinfo.h
     1.1 --- a/include/SDL_cpuinfo.h	Fri Nov 10 14:22:21 2017 -0800
     1.2 +++ b/include/SDL_cpuinfo.h	Sat Nov 11 16:20:00 2017 -0800
     1.3 @@ -59,8 +59,10 @@
     1.4  #ifdef __3dNOW__
     1.5  #include <mm3dnow.h>
     1.6  #endif
     1.7 +#if defined(__i386__) || defined(__x86_64__)
     1.8  #include <immintrin.h>
     1.9  #endif
    1.10 +#endif
    1.11  
    1.12  #include "begin_code.h"
    1.13  /* Set up for C function definitions, even when using C++ */