diff options
Diffstat (limited to 'sdl-inc.h')
-rw-r--r-- | sdl-inc.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,14 @@ +// this file includes SDL.h. +// you should include this rather than including SDL.h directly. + #ifndef SDL_INC_H_ #define SDL_INC_H_ + +#if DEBUG || __TINYC__ // speed up compile time on debug, also tcc doesn't have immintrin.h +#define SDL_DISABLE_IMMINTRIN_H +#endif + no_warn_start #if _WIN32 #include <SDL.h> |