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