blob: 0b34134d718a9e0e59d5f912397808fef7fff2ab [file] [log] [blame]
Eric Fiselierc6213332016-11-19 01:14:15 +00001// -*- C++ -*-
2//===---------------------------- locale.h --------------------------------===//
3//
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)
Mark de Wever2d66e4b2021-07-28 08:11:52 +020039#error \
40 "The Localization library is not supported since libc++ has been configured with LIBCXX_ENABLE_LOCALIZATION disabled"
Louis Dionnedb2e8342020-10-28 09:26:56 -040041#endif
42
Eric Fiselierc6213332016-11-19 01:14:15 +000043#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Louis Dionnedb2e8342020-10-28 09:26:56 -040044# pragma GCC system_header
Eric Fiselierc6213332016-11-19 01:14:15 +000045#endif
46
47#include_next <locale.h>
48
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040049#endif // _LIBCPP_LOCALE_H