diff options
| -rw-r--r-- | indra/llwindow/llkeyboardsdl.h | 3 | ||||
| -rw-r--r-- | indra/llwindow/llwindowsdl.h | 3 | 
2 files changed, 6 insertions, 0 deletions
| diff --git a/indra/llwindow/llkeyboardsdl.h b/indra/llwindow/llkeyboardsdl.h index 2b1ac5af2b..43f8e1ccb4 100644 --- a/indra/llwindow/llkeyboardsdl.h +++ b/indra/llwindow/llkeyboardsdl.h @@ -28,6 +28,9 @@  #define LL_LLKEYBOARDSDL_H  #include "llkeyboard.h" +#if !defined(__i386__) && !defined(__x86_64__) +#define SDL_DISABLE_IMMINTRIN_H +#endif  #include "SDL2/SDL.h"  class LLKeyboardSDL : public LLKeyboard diff --git a/indra/llwindow/llwindowsdl.h b/indra/llwindow/llwindowsdl.h index 992f9c986c..86e238282b 100644 --- a/indra/llwindow/llwindowsdl.h +++ b/indra/llwindow/llwindowsdl.h @@ -32,6 +32,9 @@  #include "llwindow.h"  #include "lltimer.h" +#if !defined(__i386__) && !defined(__x86_64__) +#define SDL_DISABLE_IMMINTRIN_H +#endif  #include "SDL2/SDL.h"  #include "SDL2/SDL_endian.h" | 
