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:
a9682ca
)
Try 2 to add extern C++ to __libcpp_library_version
author
Eric Fiselier
<eric@efcs.ca>
Fri, 28 Oct 2016 18:26:06 +0000
(18:26 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Fri, 28 Oct 2016 18:26:06 +0000
(18:26 +0000)
llvm-svn: 285427
libcxx/include/__config
patch
|
blob
|
history
diff --git
a/libcxx/include/__config
b/libcxx/include/__config
index
e00416b
..
4a8fef8
100644
(file)
--- a/
libcxx/include/__config
+++ b/
libcxx/include/__config
@@
-908,9
+908,11
@@
extern "C" void __sanitizer_annotate_contiguous_container(
#define _LIBCPP_HAS_NO_BUILTIN_ADDRESSOF
#endif
+extern "C++" {
_LIBCPP_BEGIN_NAMESPACE_STD
-_LIBCPP_FUNC_VIS _LIBCPP_WEAK
extern "C++"
int __libcpp_library_version();
+_LIBCPP_FUNC_VIS _LIBCPP_WEAK int __libcpp_library_version();
_LIBCPP_END_NAMESPACE_STD
+}
#define _LIBCPP_LIBRARY_VERSION \
(_VSTD::__libcpp_library_version ? _VSTD::__libcpp_library_version() : -1)