Skip to content

Commit

Permalink
Only include Intel intrinsics header on x86 and x64
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 12, 2017
1 parent 4026db8 commit 846d008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_cpuinfo.h
Expand Up @@ -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++ */
Expand Down

0 comments on commit 846d008

Please sign in to comment.