blob: 65b2bd5fd7248e21acf3159ddd19a2f0a4071ee8 [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)
39# error "Localization is not supported by this configuration of libc++"
40#endif
41
Eric Fiselierc6213332016-11-19 01:14:15 +000042#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Louis Dionnedb2e8342020-10-28 09:26:56 -040043# 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