소스 검색

Only include Intel intrinsics header on x86 and x64

Sam Lantinga 8 년 전
부모
커밋
846d008036
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/SDL_cpuinfo.h

+ 2 - 0
include/SDL_cpuinfo.h

@@ -59,8 +59,10 @@
 #ifdef __3dNOW__
 #include <mm3dnow.h>
 #endif
+#if defined(__i386__) || defined(__x86_64__)
 #include <immintrin.h>
 #endif
+#endif
 
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */