You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/include/support
James Y Knight 13498f6888 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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@305394 91177308-0d34-0410-b5e6-96231b3b80d8
9 years ago
..
android Replace __ANDROID__ with __BIONIC__. 9 years ago
fuchsia [libcxx] Direct support for Fuchsia 9 years ago
ibm Split locale management out of ibm/xlocale.h. NFCI 10 years ago
musl Add initial support for the MUSL C library. 10 years ago
newlib PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+ 9 years ago
solaris Implement LWG issue 1169. num_get not fully compatible with strto* 10 years ago
win32 Fix Libc++ build with MinGW64 9 years ago
xlocale Fix signatures of fallback tow(upper|lower)_l. 9 years ago