summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 6a03b82..5dc3d51 100644
--- a/main.c
+++ b/main.c
@@ -15,6 +15,9 @@ 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