From a02f17a2d3ee266a76729d008a886febf6b66cc1 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 19 Mar 2019 21:40:59 +0000 Subject: [PATCH] Remove MSVC compat hack since the inline keyword was added in 2015 Our minimum MSVC toolchain requirement is greater than 2015, so we don't need this conditional macro anymore. New versions of MSVC apparently have a header, xkeycheck.h, to check that keywords haven't been redefined. Fixes PR41144 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356524 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Target.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/llvm-c/Target.h b/include/llvm-c/Target.h index 9a792a0d67b..4ef641eaf23 100644 --- a/include/llvm-c/Target.h +++ b/include/llvm-c/Target.h @@ -22,10 +22,6 @@ #include "llvm-c/Types.h" #include "llvm/Config/llvm-config.h" -#if defined(_MSC_VER) && !defined(inline) -#define inline __inline -#endif - #ifdef __cplusplus extern "C" { #endif