Explorar o código

Merge branch 'fix-issue-461' of https://github.com/rygorous/stb into dev

Fabian Giesen %!s(int64=8) %!d(string=hai) anos
pai
achega
c59cb96874
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stb_vorbis.c

+ 1 - 1
stb_vorbis.c

@@ -551,7 +551,7 @@ enum STBVorbisError
    #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__)