fix: Build on MinGW32

pull/444/head
Infatum 2017-04-20 15:49:36 +03:00
parent c7110588a4
commit 4963448726
2 changed files with 3 additions and 0 deletions

2
stb.h
View File

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

View File

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