do not try to use xlocale.h
This commit is contained in:
parent
6f7693e6ac
commit
c2c8923b10
|
@ -0,0 +1,18 @@
|
|||
diff -up libcxx-4.0.1.src/include/__locale.noxlocale libcxx-4.0.1.src/include/__locale
|
||||
--- libcxx-4.0.1.src/include/__locale.noxlocale 2017-06-23 12:49:59.474063096 -0400
|
||||
+++ libcxx-4.0.1.src/include/__locale 2017-06-23 12:50:31.977284122 -0400
|
||||
@@ -34,12 +34,12 @@
|
||||
# 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(_LIBCPP_HAS_MUSL_LIBC)
|
||||
# include <support/musl/xlocale.h>
|
||||
-#endif // __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__
|
||||
+#endif // __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
#pragma GCC system_header
|
Loading…
Reference in New Issue