diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 14:10:38 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 14:10:38 -0500 |
commit | f791aa01fad7e81223808584212c6a1a4c80ca07 (patch) | |
tree | f93d53a62035cdad7f16b97fb28c83c7acfaf14f /sdl-inc.h | |
parent | c0d0117a963cf8e4dfb28b919087d8a8ecbbca6e (diff) |
finish restructuring
Diffstat (limited to 'sdl-inc.h')
-rw-r--r-- | sdl-inc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sdl-inc.h b/sdl-inc.h new file mode 100644 index 0000000..7bb613b --- /dev/null +++ b/sdl-inc.h @@ -0,0 +1,15 @@ +#ifndef SDL_INC_H_ +#define SDL_INC_H_ + +no_warn_start +#if _WIN32 + #include <SDL.h> +#else + #if DEBUG || __TINYC__ // speed up compile time on debug, also tcc doesn't have immintrin.h + #define SDL_DISABLE_IMMINTRIN_H + #endif + #include <SDL2/SDL.h> +#endif +no_warn_end + +#endif // SDL_INC_H_ |