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
|
Tim Sjostrand
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
#ifndef STB__INCLUDE_STB_H
|
#ifndef STB__INCLUDE_STB_H
|
||||||
#define STB__INCLUDE_STB_H
|
#define STB__INCLUDE_STB_H
|
||||||
|
|
||||||
|
@ -576,6 +576,7 @@ enum STBVorbisError
|
|||||||
#undef __forceinline
|
#undef __forceinline
|
||||||
#endif
|
#endif
|
||||||
#define __forceinline
|
#define __forceinline
|
||||||
|
#define alloca __builtin_alloca
|
||||||
#elif !defined(_MSC_VER)
|
#elif !defined(_MSC_VER)
|
||||||
#if __GNUC__
|
#if __GNUC__
|
||||||
#define __forceinline inline
|
#define __forceinline inline
|
||||||
|
Loading…
Reference in New Issue
Block a user