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> |
Ben Craig | b8aea04 | 2016-02-18 17:40:16 +0000 | [diff] [blame^] | 19 | #include <support/xlocale/__nop_locale_mgmt.h> |
Jonathan Roelofs | 4f1561a | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 20 | |
| 21 | #ifdef __cplusplus |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
Jonathan Roelofs | 4f1561a | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 25 | // Share implementation with Android's Bionic |
| 26 | #include <support/xlocale/xlocale.h> |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } // extern "C" |
| 30 | #endif |
| 31 | |
| 32 | #endif // _NEWLIB_VERSION |
| 33 | |
| 34 | #endif |