summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'base.h')
-rw-r--r--base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base.h b/base.h
index 30d9b2c..92afc3e 100644
--- a/base.h
+++ b/base.h
@@ -9,6 +9,10 @@
#define _GNU_SOURCE
#endif
+#if DEBUG || __TINYC__ // speed up compile time on debug, also tcc doesn't have immintrin.h
+#define SDL_DISABLE_IMMINTRIN_H
+#endif
+
#if __GNUC__
#define FALLTHROUGH __attribute__((fallthrough));
#else