Remove extra `inline` macro definition

master
Nicolas Ojeda Bar 2015-12-28 22:01:40 +01:00
parent 6533f3bc06
commit 00f04279a0
2 changed files with 1 additions and 9 deletions

View File

@ -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). */

View File

@ -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