summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Dmitrouk <sdmitrouk@accesssoftek.com>2014-12-12 08:36:16 +0000
committerSergey Dmitrouk <sdmitrouk@accesssoftek.com>2014-12-12 08:36:16 +0000
commit9e3a60769fe93241ee1bcdd711a1d38b014c15a6 (patch)
tree363d10ccf6d32da252bdedf700c98d21ade1fb1a
parentee8d04d8ddfc44266b7a34cf014da32ed54af16a (diff)
downloadbcm5719-llvm-9e3a60769fe93241ee1bcdd711a1d38b014c15a6.tar.gz
bcm5719-llvm-9e3a60769fe93241ee1bcdd711a1d38b014c15a6.zip
Include newlib-specific locales in __locale
llvm-svn: 224111
-rw-r--r--libcxx/include/__locale2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__locale b/libcxx/include/__locale
index 47116200e26..0097fc28d79 100644
--- a/libcxx/include/__locale
+++ b/libcxx/include/__locale
@@ -31,6 +31,8 @@
# endif
#elif defined(__sun__)
# include <support/solaris/xlocale.h>
+#elif defined(_NEWLIB_VERSION)
+# include <support/newlib/xlocale.h>
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) \
|| defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
# include <xlocale.h>
OpenPOWER on IntegriCloud