From fda335609f25d717d84f1e08026d5cb728764bd9 Mon Sep 17 00:00:00 2001 From: Nicolas Guillemot Date: Sat, 18 Apr 2015 20:39:46 -0700 Subject: [PATCH] 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. --- stb_vorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_vorbis.c b/stb_vorbis.c index ef346fc..4920eb6 100644 --- a/stb_vorbis.c +++ b/stb_vorbis.c @@ -553,7 +553,7 @@ enum STBVorbisError #define NULL 0 #endif -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !(defined(__MINGW32__) && defined(__forceinline)) #if __GNUC__ #define __forceinline inline #else