mirror of https://github.com/nothings/stb.git
fix: Build on MinGW32
This commit is contained in:
parent
c7110588a4
commit
4963448726
2
stb.h
2
stb.h
|
@ -193,6 +193,8 @@ CREDITS
|
|||
Tim Sjostrand
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifndef STB__INCLUDE_STB_H
|
||||
#define STB__INCLUDE_STB_H
|
||||
|
||||
|
|
|
@ -576,6 +576,7 @@ enum STBVorbisError
|
|||
#undef __forceinline
|
||||
#endif
|
||||
#define __forceinline
|
||||
#define alloca __builtin_alloca
|
||||
#elif !defined(_MSC_VER)
|
||||
#if __GNUC__
|
||||
#define __forceinline inline
|
||||
|
|
Loading…
Reference in New Issue