[PATCH] D49927: [libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4
Jordan Rupprecht via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 27 13:05:04 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338157: [libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4 (authored by rupprecht, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D49927
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
@@ -19,9 +19,9 @@
#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>
+#endif
#endif // _NEWLIB_VERSION
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49927.157747.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180727/e401037e/attachment.bin>
More information about the cfe-commits
mailing list