ソースを参照

Merge branch 'master' of https://github.com/Infatum/stb into dev

Sean Barrett 8 年 前
コミット
3b232a3ff7
2 ファイル変更3 行追加0 行削除
  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

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