From 93294d4a97736c8bdb9918f182d6755c562854a5 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 29 Aug 2020 10:13:25 +0300 Subject: [PATCH] stbi: fix compilation with tcc --- thirdparty/stb_image/stb_image.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/stb_image/stb_image.h b/thirdparty/stb_image/stb_image.h index accef4839c..43784617d4 100644 --- a/thirdparty/stb_image/stb_image.h +++ b/thirdparty/stb_image/stb_image.h @@ -336,6 +336,10 @@ RECENT REVISION HISTORY: // default this is set to (1 << 24), which is 16777216, but that's still // very big. +#ifdef __TINYC__ +#define STBI_NO_SIMD +#endif + #ifndef STBI_NO_STDIO #include #endif // STBI_NO_STDIO