Marshall Clow | a643926 | 2014-07-10 15:20:28 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===------------------- support/android/locale_bionic.h ------------------===// |
| 3 | // |
| 4 | // The LLVM Compiler Infrastructure |
| 5 | // |
| 6 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 7 | // Source Licenses. See LICENSE.TXT for details. |
| 8 | // |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | |
| 11 | #ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H |
| 12 | #define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H |
| 13 | |
| 14 | #if defined(__ANDROID__) |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | #include <stdlib.h> |
| 21 | #include <xlocale.h> |
| 22 | |
Marshall Clow | a643926 | 2014-07-10 15:20:28 +0000 | [diff] [blame] | 23 | #ifdef __cplusplus |
| 24 | } |
| 25 | #endif |
Jonathan Roelofs | 6a5a8ab | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 26 | |
Dan Albert | 1d4a1ed | 2016-05-25 22:36:09 -0700 | [diff] [blame^] | 27 | // Share implementation with Newlib |
| 28 | #include <support/xlocale/xlocale.h> |
Jonathan Roelofs | 6a5a8ab | 2014-09-19 20:09:12 +0000 | [diff] [blame] | 29 | |
Marshall Clow | a643926 | 2014-07-10 15:20:28 +0000 | [diff] [blame] | 30 | #endif // defined(__ANDROID__) |
| 31 | #endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H |