projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13d51c
)
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.
llvm-svn: 193256
llvm/include/llvm-c/Target.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm-c/Target.h
b/llvm/include/llvm-c/Target.h
index
46ee59a
..
71a2481
100644
(file)
--- a/
llvm/include/llvm-c/Target.h
+++ b/
llvm/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