xref: /aosp_15_r20/external/libcxx/include/support/newlib/xlocale.h (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
1*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
2*58b9f456SAndroid Build Coastguard Worker //
3*58b9f456SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*58b9f456SAndroid Build Coastguard Worker //
5*58b9f456SAndroid Build Coastguard Worker // This file is dual licensed under the MIT and the University of Illinois Open
6*58b9f456SAndroid Build Coastguard Worker // Source Licenses. See LICENSE.TXT for details.
7*58b9f456SAndroid Build Coastguard Worker //
8*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*58b9f456SAndroid Build Coastguard Worker 
10*58b9f456SAndroid Build Coastguard Worker #ifndef _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H
11*58b9f456SAndroid Build Coastguard Worker #define _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H
12*58b9f456SAndroid Build Coastguard Worker 
13*58b9f456SAndroid Build Coastguard Worker #if defined(_NEWLIB_VERSION)
14*58b9f456SAndroid Build Coastguard Worker 
15*58b9f456SAndroid Build Coastguard Worker #include <cstdlib>
16*58b9f456SAndroid Build Coastguard Worker #include <clocale>
17*58b9f456SAndroid Build Coastguard Worker #include <cwctype>
18*58b9f456SAndroid Build Coastguard Worker #include <ctype.h>
19*58b9f456SAndroid Build Coastguard Worker #if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \
20*58b9f456SAndroid Build Coastguard Worker     __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5
21*58b9f456SAndroid Build Coastguard Worker #include <support/xlocale/__nop_locale_mgmt.h>
22*58b9f456SAndroid Build Coastguard Worker #include <support/xlocale/__posix_l_fallback.h>
23*58b9f456SAndroid Build Coastguard Worker #include <support/xlocale/__strtonum_fallback.h>
24*58b9f456SAndroid Build Coastguard Worker #endif
25*58b9f456SAndroid Build Coastguard Worker 
26*58b9f456SAndroid Build Coastguard Worker #endif // _NEWLIB_VERSION
27*58b9f456SAndroid Build Coastguard Worker 
28*58b9f456SAndroid Build Coastguard Worker #endif
29