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:
bd351ef
)
Fix libcxx build with glibc 2.26+ by removing xlocale.h include.
author
Eric Fiselier
<eric@efcs.ca>
Thu, 3 Aug 2017 04:28:10 +0000
(
04:28
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Thu, 3 Aug 2017 04:28:10 +0000
(
04:28
+0000)
Patch by Khem Raj. Reviewed as D35697. Also see PR33729.
llvm-svn: 309920
libcxx/include/__locale
patch
|
blob
|
history
diff --git
a/libcxx/include/__locale
b/libcxx/include/__locale
index
7668422
..
91ed9e7
100644
(file)
--- a/
libcxx/include/__locale
+++ b/
libcxx/include/__locale
@@
-34,7
+34,7
@@
# include <support/solaris/xlocale.h>
#elif defined(_NEWLIB_VERSION)
# include <support/newlib/xlocale.h>
-#elif (defined(__
GLIBC__) || defined(__
APPLE__) || defined(__FreeBSD__) \
+#elif (defined(__APPLE__) || defined(__FreeBSD__) \
|| defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
# include <xlocale.h>
#elif defined(__Fuchsia__)