diff --git a/src/demod.c b/src/demod.c index 94f158e2..60b69c99 100644 --- a/src/demod.c +++ b/src/demod.c @@ -80,6 +80,8 @@ #if defined(__GNUC__) || defined(__clang__) #pragma push_macro("FORCE_INLINE") #define FORCE_INLINE static inline __attribute__((always_inline)) +#elif defined(_MSC_VER) +#define FORCE_INLINE static __forceinline #else #error "Macro name collisions may happen with unsupported compiler." #ifdef FORCE_INLINE