ios don't support thread local storage

This commit is contained in:
halx99 2020-06-14 15:52:15 +08:00
parent 98cb60f8bb
commit ef9b96de58
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ THE SOFTWARE.
#define STBI_NO_HDR
#define STBI_NO_TGA
#define STB_IMAGE_IMPLEMENTATION
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
#define STBI_NO_THREAD_LOCALS
#endif
#include "stb/stb_image.h"
extern "C"