From b99fe37522be7e134f9a393fde182b2700774f9d Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Sun, 6 Apr 2025 21:18:13 +0200 Subject: [PATCH] Don't use thread locals in stb_image (doesn't work on Solaris) --- src/Bitmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bitmap.cpp b/src/Bitmap.cpp index b817033e..2f9a4d02 100644 --- a/src/Bitmap.cpp +++ b/src/Bitmap.cpp @@ -12,6 +12,7 @@ #define STBI_ONLY_PNG #define STBI_NO_LINEAR #define STBI_NO_STDIO +#define STBI_NO_THREAD_LOCALS #include "../external/stb_image.h" #include "File.h"