Skip to content

Commit df6c65c

Browse files
committed
stb_vorbis: sync with stb_vorbis SDL fork
1 parent 37646af commit df6c65c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/codecs/stb_vorbis/stb_vorbis.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,10 @@ enum STBVorbisError
620620
#include <limits.h>
621621

622622
#ifndef STB_FORCEINLINE
623-
#if defined(_MSC_VER)
623+
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
624624
#define STB_FORCEINLINE __forceinline
625+
#elif defined(_MSC_VER)
626+
#define STB_FORCEINLINE static __inline
625627
#elif (defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))) || defined(__clang__)
626628
#define STB_FORCEINLINE static __inline __attribute__((always_inline))
627629
#else

0 commit comments

Comments
 (0)