llvm-project/libcxx/include/support
James Y Knight b6567b18c7 PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+
Newlib 2.5 added the locale management functions, so it should not
include __nop_local_mgmt.h. This change adds proper guard around that
include statement.

For newlib 2.4, some releases contain these functions and some don't,
and they all have the same version numbers. This patch will work
properly with the initial "2.4.0" release which does not include these
functions and require __nop_local_mgmt.h.

This has been tested against newlib 2.2 and 2.5, and also sanity
checks against other different version numbers.

Patch by Martin J. O'Riordan and Walter Lee

Differential Revision: https://reviews.llvm.org/D32146

llvm-svn: 305394
2017-06-14 16:40:03 +00:00
..
android Replace __ANDROID__ with __BIONIC__. 2016-09-19 18:00:45 +00:00
fuchsia [libcxx] Direct support for Fuchsia 2017-04-13 21:29:21 +00:00
ibm Split locale management out of ibm/xlocale.h. NFCI 2016-02-18 17:37:33 +00:00
musl
newlib PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+ 2017-06-14 16:40:03 +00:00
solaris Implement LWG issue 1169. num_get not fully compatible with strto* 2016-06-19 06:58:22 +00:00
win32 Fix Libc++ build with MinGW64 2017-05-31 22:14:05 +00:00
xlocale Fix signatures of fallback tow(upper|lower)_l. 2016-09-19 20:42:57 +00:00