mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Merge pull request #51 from bdero/bdero/fix-emscripten
Fix emscripten builds by correcting `ctype.h` include.
This commit is contained in:
@@ -17,7 +17,7 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4100) // error C4100: '' : unreferenced formal
|
||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4389) // warning C4389 : '==' : signed / unsigned mismatch
|
||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4505) // warning C4505: 'tinyexr::miniz::def_realloc_func': unreferenced local function has been removed
|
||||
#if BX_PLATFORM_EMSCRIPTEN
|
||||
# include <compat/ctype.h>
|
||||
# include <ctype.h>
|
||||
#endif // BX_PLATFORM_EMSCRIPTEN
|
||||
#define MINIZ_NO_ARCHIVE_APIS
|
||||
#define MINIZ_NO_STDIO
|
||||
|
||||
Reference in New Issue
Block a user