summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-28 17:00:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-28 17:00:49 -0500
commit410b9b764c4a6c81a3573cf7ca23330d43931829 (patch)
tree9766f5245c9c71a8a67948ef8d2bb05613d74a01 /main.c
parent52fd5e0c95da236fd14682ed8a7cfa34afbab2c0 (diff)
speed up debug build time
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