浏览代码

Fix previous workaround commit...

Alex Szpakowski 4 年之前
父节点
当前提交
042b0ffe31
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/image/magpie/STBHandler.cpp

+ 1 - 1
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
 // Workaround when building for iOS Simulator with deployment target=8.0
 #include "common/config.h"
 #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
 #define STBI_NO_THREAD_LOCALS
 #endif
 #endif