mirror of
https://github.com/nothings/stb.git
synced 2025-12-30 09:44:48 +00:00
emscripten needs explicit alloca as well
This commit is contained in:
@@ -552,7 +552,7 @@ enum STBVorbisError
|
||||
#include <math.h>
|
||||
#if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh))
|
||||
#include <malloc.h>
|
||||
#if defined(__linux__) || defined(__linux)
|
||||
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user