Eric Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===---------------------------- locale.h --------------------------------===// |
| 3 | // |
Chandler Carruth | d201210 | 2019-01-19 10:56:40 +0000 | [diff] [blame] | 4 | // 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 Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef _LIBCPP_LOCALE_H |
| 11 | #define _LIBCPP_LOCALE_H |
| 12 | |
| 13 | /* |
| 14 | locale.h synopsis |
| 15 | |
| 16 | Macros: |
| 17 | |
| 18 | LC_ALL |
| 19 | LC_COLLATE |
| 20 | LC_CTYPE |
| 21 | LC_MONETARY |
| 22 | LC_NUMERIC |
| 23 | LC_TIME |
| 24 | |
| 25 | Types: |
| 26 | |
| 27 | lconv |
| 28 | |
| 29 | Functions: |
| 30 | |
| 31 | setlocale |
| 32 | localeconv |
| 33 | |
| 34 | */ |
| 35 | |
| 36 | #include <__config> |
| 37 | |
Louis Dionne | db2e834 | 2020-10-28 09:26:56 -0400 | [diff] [blame] | 38 | #if defined(_LIBCPP_HAS_NO_LOCALIZATION) |
| 39 | # error "Localization is not supported by this configuration of libc++" |
| 40 | #endif |
| 41 | |
Eric Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 42 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
Louis Dionne | db2e834 | 2020-10-28 09:26:56 -0400 | [diff] [blame] | 43 | # pragma GCC system_header |
Eric Fiselier | c621333 | 2016-11-19 01:14:15 +0000 | [diff] [blame] | 44 | #endif |
| 45 | |
| 46 | #include_next <locale.h> |
| 47 | |
Louis Dionne | 2b1ceaa | 2021-04-20 12:03:32 -0400 | [diff] [blame^] | 48 | #endif // _LIBCPP_LOCALE_H |