diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
commit | 4293f5284971473afaa43b83075d4d985b976622 (patch) | |
tree | 498243bee09fab77d0a3414c9cc8ad421a7f1136 /sdl-inc.h | |
parent | 98c618770f44a2bde4b5ba45c7390971c91a3fc3 (diff) |
more documentation
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> |