projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266acb9
)
llvm-c/Target.h: Tweak "inline" for msvc to use __inline instead.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Oct 2013 17:56:52 +0000
(17:56 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Oct 2013 17:56:52 +0000
(17:56 +0000)
FIXME: I don't think it'd be smart.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193256
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm-c/Target.h
patch
|
blob
|
history
diff --git
a/include/llvm-c/Target.h
b/include/llvm-c/Target.h
index 46ee59abb0526174932ea6b4dd63d90ef564a766..71a24819eac9fb04bb2816aea6cea94d43a5cbc6 100644
(file)
--- a/
include/llvm-c/Target.h
+++ b/
include/llvm-c/Target.h
@@
-22,6
+22,10
@@
#include "llvm-c/Core.h"
#include "llvm/Config/llvm-config.h"
+#if defined(_MSC_VER) && !defined(inline)
+#define inline __inline
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif