diff --git a/byterun/caml/config.h b/byterun/caml/config.h index febc72167..58f2f4266 100644 --- a/byterun/caml/config.h +++ b/byterun/caml/config.h @@ -113,14 +113,6 @@ typedef uint64_t uintnat; #endif -/* We use static inline functions in some cases instead of duplicating - code but the MSVC compiler has a slightly different syntax. */ - -#ifdef _MSC_VER -#define inline _inline -#endif - - /* We use threaded code interpretation if the compiler provides labels as first-class values (GCC 2.x). */ diff --git a/config/m-nt.h b/config/m-nt.h index d869c375e..783fdd170 100644 --- a/config/m-nt.h +++ b/config/m-nt.h @@ -40,7 +40,7 @@ #endif #define ARCH_INT64_PRINTF_FORMAT "I64" -#if !defined(__MINGW32__) && !defined(__cplusplus) && !defined(inline) +#if defined(_MSC_VER) && !defined(__cplusplus) #define inline __inline #endif