fixed build for cygwin (#2588)

This commit is contained in:
Julianiolo 2022-07-23 12:33:23 +02:00 • committed by GitHub
commit 6ed1ce0082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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__) || defined(__APPLE__)
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) || defined(__APPLE__) || defined(__CYGWIN__)
#include <alloca.h>
#endif
#else // STB_VORBIS_NO_CRT