mirror of
https://github.com/nothings/stb
synced 2024-12-17 05:12:35 +03:00
don't redefine __forceinline with mingw
mingw redefines __forceinline (though I don't think this applies to all versions of mingw.) Therefore, don't redefine it if mingw has already defined it.
This commit is contained in:
parent
e4be8fae2c
commit
fda335609f
@ -553,7 +553,7 @@ enum STBVorbisError
|
|||||||
#define NULL 0
|
#define NULL 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#if !defined(_MSC_VER) && !(defined(__MINGW32__) && defined(__forceinline))
|
||||||
#if __GNUC__
|
#if __GNUC__
|
||||||
#define __forceinline inline
|
#define __forceinline inline
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user