From 042b0ffe31b118d2860b483eaf77915a479941e5 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 30 May 2021 16:06:11 -0300 Subject: [PATCH] Fix previous workaround commit... --- src/modules/image/magpie/STBHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/image/magpie/STBHandler.cpp b/src/modules/image/magpie/STBHandler.cpp index 9f2b8372d..876d6c2fb 100644 --- a/src/modules/image/magpie/STBHandler.cpp +++ b/src/modules/image/magpie/STBHandler.cpp @@ -31,7 +31,7 @@ static void loveSTBIAssert(bool test, const char *teststr) // Workaround when building for iOS Simulator with deployment target=8.0 #include "common/config.h" -#if defined(LOVE_IOS) && defined(TARGET_OS_SIMULATOR) +#if defined(LOVE_IOS) && TARGET_OS_SIMULATOR == 1 #define STBI_NO_THREAD_LOCALS #endif