added import in order for alloca to work on macos (#1710)
This commit is contained in:
parent
6d3c66a179
commit
fd663024ea
1 changed files with 1 additions and 1 deletions
2
src/external/stb_vorbis.h
vendored
2
src/external/stb_vorbis.h
vendored
|
@ -570,7 +570,7 @@ enum STBVorbisError
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#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__) || defined(__APPLE__)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
#else // STB_VORBIS_NO_CRT
|
#else // STB_VORBIS_NO_CRT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue