From df6c65c94b7518c814ca79338666fd3b7777e443 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 21 Feb 2025 20:50:04 +0300
Subject: [PATCH] stb_vorbis: sync with stb_vorbis SDL fork
---
src/codecs/stb_vorbis/stb_vorbis.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/codecs/stb_vorbis/stb_vorbis.h b/src/codecs/stb_vorbis/stb_vorbis.h
index 92e54415..00386eef 100644
--- a/src/codecs/stb_vorbis/stb_vorbis.h
+++ b/src/codecs/stb_vorbis/stb_vorbis.h
@@ -620,8 +620,10 @@ enum STBVorbisError
#include <limits.h>
#ifndef STB_FORCEINLINE
- #if defined(_MSC_VER)
+ #if defined(_MSC_VER) && (_MSC_VER >= 1200)
#define STB_FORCEINLINE __forceinline
+ #elif defined(_MSC_VER)
+ #define STB_FORCEINLINE static __inline
#elif (defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))) || defined(__clang__)
#define STB_FORCEINLINE static __inline __attribute__((always_inline))
#else