summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSaikyun <[email protected]>2021-04-06 21:42:00 +0200
committerGitHub <[email protected]>2021-04-06 21:42:00 +0200
commitfd663024eadae3c0ab0e86e0f0d6ad64a95f4cac (patch)
treecb105f1451ae363ed2cd4a847995077f24e864ad
parent6d3c66a179a108d02e7c5bcfd8eaf5233abe0a4d (diff)
downloadraylib-fd663024eadae3c0ab0e86e0f0d6ad64a95f4cac.tar.gz
raylib-fd663024eadae3c0ab0e86e0f0d6ad64a95f4cac.zip
added import in order for alloca to work on macos (#1710)
-rw-r--r--src/external/stb_vorbis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/stb_vorbis.h b/src/external/stb_vorbis.h
index 90f3b061..c9ee5ccc 100644
--- a/src/external/stb_vorbis.h
+++ b/src/external/stb_vorbis.h
@@ -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