Explorar el Código

fix: Build on MinGW32

Infatum hace 8 años
padre
commit
4963448726
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  1. 2 0
      stb.h
  2. 1 0
      stb_vorbis.c

+ 2 - 0
stb.h

@@ -193,6 +193,8 @@ CREDITS
   Tim Sjostrand
 */
 
+#include <stdarg.h>
+
 #ifndef STB__INCLUDE_STB_H
 #define STB__INCLUDE_STB_H
 

+ 1 - 0
stb_vorbis.c

@@ -576,6 +576,7 @@ enum STBVorbisError
    #undef __forceinline
    #endif
    #define __forceinline
+#define alloca __builtin_alloca
 #elif !defined(_MSC_VER)
    #if __GNUC__
       #define __forceinline inline