Browse Source

Corrected issue with alloca.h on GCC

Ray 8 years ago
parent
commit
e7f0d0eef1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/external/stb_vorbis.c

+ 1 - 1
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__)