blob: 4b7e9b7495a0298e95739224a57859ab2163f432 [file] [log] [blame]
Jonathan Roelofs4f1561a2014-09-19 20:09:12 +00001//===----------------------------------------------------------------------===//
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 Knightb6567b12017-06-14 16:40:03 +000019#if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \
20 __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5
Ben Craigb8aea042016-02-18 17:40:16 +000021#include <support/xlocale/__nop_locale_mgmt.h>
James Y Knightb6567b12017-06-14 16:40:03 +000022#endif
Ben Craig57b8b1f2016-05-20 12:58:41 +000023#include <support/xlocale/__posix_l_fallback.h>
24#include <support/xlocale/__strtonum_fallback.h>
Jonathan Roelofs4f1561a2014-09-19 20:09:12 +000025
26#endif // _NEWLIB_VERSION
27
28#endif