aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2017-04-21 00:08:24 +0200
committerRay <raysan5@gmail.com>2017-04-21 00:08:24 +0200
commite7f0d0eef13fee1682ce674385677d8b01c7b2de (patch)
treecb4174113a68be124882d805998baa37da6f98ae /src
parentecfe31bf1d2647dc52b8e1584e4b7f022049e09b (diff)
downloadraylib-e7f0d0eef13fee1682ce674385677d8b01c7b2de.tar.gz
raylib-e7f0d0eef13fee1682ce674385677d8b01c7b2de.zip
Corrected issue with alloca.h on GCC
Diffstat (limited to 'src')
-rw-r--r--src/external/stb_vorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/stb_vorbis.c b/src/external/stb_vorbis.c
index ac8c9ca5..21638bcd 100644
--- a/src/external/stb_vorbis.c
+++ b/src/external/stb_vorbis.c
@@ -168,7 +168,7 @@
#include <math.h>
// find definition of alloca if it's not in stdlib.h:
- #ifdef _MSC_VER
+ #if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h>
#endif
#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__)