From 846d008036a526bc0fa9b0b073f418336dc3f228 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 11 Nov 2017 16:20:00 -0800 Subject: [PATCH] Only include Intel intrinsics header on x86 and x64 --- include/SDL_cpuinfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h index 19a88de4dc16a..1fde4e614dd21 100644 --- a/include/SDL_cpuinfo.h +++ b/include/SDL_cpuinfo.h @@ -59,8 +59,10 @@ #ifdef __3dNOW__ #include #endif +#if defined(__i386__) || defined(__x86_64__) #include #endif +#endif #include "begin_code.h" /* Set up for C function definitions, even when using C++ */