From d73c0512ebda03ae128679a7b520fb623d5cd735 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 17 Jan 2022 18:15:47 -0500 Subject: [PATCH] fix Microsoft C compiler build... again --- src/engine/platform/sound/nes/common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/platform/sound/nes/common.h b/src/engine/platform/sound/nes/common.h index 8f7fefee..c8ab4b6b 100644 --- a/src/engine/platform/sound/nes/common.h +++ b/src/engine/platform/sound/nes/common.h @@ -70,7 +70,11 @@ enum database_mode { #if defined (DEBUG) #define INLINE #else +#ifdef _MSC_VER +#define INLINE __forceinline +#else #define INLINE inline __attribute__((always_inline)) #endif +#endif #endif /* COMMON_H_ */