Skip to content

Commit e7effee

Browse files
committed
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 llvm-svn: 356524
1 parent 2b27c00 commit e7effee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/include/llvm-c/Target.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
#include "llvm-c/Types.h"
2323
#include "llvm/Config/llvm-config.h"
2424

25-
#if defined(_MSC_VER) && !defined(inline)
26-
#define inline __inline
27-
#endif
28-
2925
#ifdef __cplusplus
3026
extern "C" {
3127
#endif

0 commit comments

Comments
 (0)