summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support/newlib/xlocale.h
blob: f729ee5f071b39b1428c914558732a32004ca382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H
#define _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H

#if defined(_NEWLIB_VERSION)

#include <cstdlib>
#include <clocale>
#include <cwctype>
#include <ctype.h>
#include <support/xlocale/__nop_locale_mgmt.h>

#ifdef __cplusplus
extern "C" {
#endif

// Share implementation with Android's Bionic
#include <support/xlocale/xlocale.h>

#ifdef __cplusplus
} // extern "C"
#endif

#endif // _NEWLIB_VERSION

#endif
OpenPOWER on IntegriCloud