[libcxx] r224111 - Include newlib-specific locales in __locale
Sergey Dmitrouk
sdmitrouk at accesssoftek.com
Fri Dec 12 00:36:17 PST 2014
Author: sdmitrouk
Date: Fri Dec 12 02:36:16 2014
New Revision: 224111
URL: http://llvm.org/viewvc/llvm-project?rev=224111&view=rev
Log:
Include newlib-specific locales in __locale
Modified:
libcxx/trunk/include/__locale
Modified: libcxx/trunk/include/__locale
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__locale?rev=224111&r1=224110&r2=224111&view=diff
==============================================================================
--- libcxx/trunk/include/__locale (original)
+++ libcxx/trunk/include/__locale Fri Dec 12 02:36:16 2014
@@ -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>
More information about the cfe-commits
mailing list