Corrected issue with alloca.h on GCC
This commit is contained in:
parent
ecfe31bf1d
commit
e7f0d0eef1
1 changed files with 1 additions and 1 deletions
2
src/external/stb_vorbis.c
vendored
2
src/external/stb_vorbis.c
vendored
|
@ -168,7 +168,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
// find definition of alloca if it's not in stdlib.h:
|
// find definition of alloca if it's not in stdlib.h:
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
|
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue