emscripten needs explicit alloca as well

This commit is contained in:
Sean Barrett 2016-04-02 03:57:17 -07:00
parent 56e8fd063c
commit 92bd7a49a8

View File

@ -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