added import in order for alloca to work on macos (#1710)

This commit is contained in:
Saikyun
2021-04-06 21:42:00 +02:00
committed by GitHub
parent 6d3c66a179
commit fd663024ea

View File

@ -570,7 +570,7 @@ enum STBVorbisError
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h>
#endif
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__APPLE__)
#include <alloca.h>
#endif
#else // STB_VORBIS_NO_CRT