Jonathan Roelofs | 4f1561a | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 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> |
James Y Knight | b6567b1 | 2017-06-14 16:40:03 +0000 | [diff] [blame] | 19 | #if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \ |
| 20 | __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5 |
Ben Craig | b8aea04 | 2016-02-18 17:40:16 +0000 | [diff] [blame] | 21 | #include <support/xlocale/__nop_locale_mgmt.h> |
James Y Knight | b6567b1 | 2017-06-14 16:40:03 +0000 | [diff] [blame] | 22 | #endif |
Ben Craig | 57b8b1f | 2016-05-20 12:58:41 +0000 | [diff] [blame] | 23 | #include <support/xlocale/__posix_l_fallback.h> |
| 24 | #include <support/xlocale/__strtonum_fallback.h> |
Jonathan Roelofs | 4f1561a | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 25 | |
| 26 | #endif // _NEWLIB_VERSION |
| 27 | |
| 28 | #endif |