blob: 3a05c18abb7319cb1ca31ad7014d410d2b5fbd3c [file] [log] [blame]
Eric Fiselierc6213332016-11-19 01:14:15 +00001// -*- C++ -*-
Louis Dionne9bd93882021-11-17 16:25:01 -05002//===----------------------------------------------------------------------===//
Eric Fiselierc6213332016-11-19 01:14:15 +00003//
Chandler Carruthd2012102019-01-19 10:56:40 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Eric Fiselierc6213332016-11-19 01:14:15 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_LOCALE_H
11#define _LIBCPP_LOCALE_H
12
13/*
14 locale.h synopsis
15
16Macros:
17
18 LC_ALL
19 LC_COLLATE
20 LC_CTYPE
21 LC_MONETARY
22 LC_NUMERIC
23 LC_TIME
24
25Types:
26
27 lconv
28
29Functions:
30
31 setlocale
32 localeconv
33
34*/
35
36#include <__config>
37
Louis Dionnedb2e8342020-10-28 09:26:56 -040038#if defined(_LIBCPP_HAS_NO_LOCALIZATION)
Louis Dionne18866082021-08-23 15:34:40 -040039# error "The Localization library is not supported since libc++ has been configured with LIBCXX_ENABLE_LOCALIZATION disabled"
Louis Dionnedb2e8342020-10-28 09:26:56 -040040#endif
41
Eric Fiselierc6213332016-11-19 01:14:15 +000042#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Arthur O'Dwyer6eeaa002022-02-01 20:16:40 -050043# pragma GCC system_header
Eric Fiselierc6213332016-11-19 01:14:15 +000044#endif
45
46#include_next <locale.h>
47
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040048#endif // _LIBCPP_LOCALE_H