[PATCH] D32146: PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+
James Y Knight via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 14 09:40:45 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL305394: PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+ (authored by jyknight).
Changed prior to commit:
https://reviews.llvm.org/D32146?vs=102265&id=102562#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32146
Files:
libcxx/trunk/include/support/newlib/xlocale.h
Index: libcxx/trunk/include/support/newlib/xlocale.h
===================================================================
--- libcxx/trunk/include/support/newlib/xlocale.h
+++ libcxx/trunk/include/support/newlib/xlocale.h
@@ -16,7 +16,10 @@
#include <clocale>
#include <cwctype>
#include <ctype.h>
+#if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \
+ __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5
#include <support/xlocale/__nop_locale_mgmt.h>
+#endif
#include <support/xlocale/__posix_l_fallback.h>
#include <support/xlocale/__strtonum_fallback.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32146.102562.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/b1a26597/attachment.bin>
More information about the cfe-commits
mailing list