summaryrefslogtreecommitdiff
path: root/sdl-inc.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-04 13:06:13 -0500
committerpommicket <pommicket@gmail.com>2023-01-04 13:06:13 -0500
commit4293f5284971473afaa43b83075d4d985b976622 (patch)
tree498243bee09fab77d0a3414c9cc8ad421a7f1136 /sdl-inc.h
parent98c618770f44a2bde4b5ba45c7390971c91a3fc3 (diff)
more documentation
Diffstat (limited to 'sdl-inc.h')
-rw-r--r--sdl-inc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sdl-inc.h b/sdl-inc.h
index a8a1624..1864eda 100644
--- a/sdl-inc.h
+++ b/sdl-inc.h
@@ -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>