summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:37:21 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:37:21 -0500
commitc91c49ab846603e332be8e6eacebcbbb0c45017d (patch)
tree4a6ab88f03afb20b767825a9db4ca26783e9f9a6 /base.h
parentfd866bf94487ee39cccdaea749407faa487fcee5 (diff)
clean some stuff up
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