2016-11-19 09:14:15 +08:00
|
|
|
// -*- C++ -*-
|
|
|
|
//===---------------------------- locale.h --------------------------------===//
|
|
|
|
//
|
2019-01-19 18:56:40 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2016-11-19 09:14:15 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_LOCALE_H
|
|
|
|
#define _LIBCPP_LOCALE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
locale.h synopsis
|
|
|
|
|
|
|
|
Macros:
|
|
|
|
|
|
|
|
LC_ALL
|
|
|
|
LC_COLLATE
|
|
|
|
LC_CTYPE
|
|
|
|
LC_MONETARY
|
|
|
|
LC_NUMERIC
|
|
|
|
LC_TIME
|
|
|
|
|
|
|
|
Types:
|
|
|
|
|
|
|
|
lconv
|
|
|
|
|
|
|
|
Functions:
|
|
|
|
|
|
|
|
setlocale
|
|
|
|
localeconv
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <__config>
|
|
|
|
|
2020-10-28 21:26:56 +08:00
|
|
|
#if defined(_LIBCPP_HAS_NO_LOCALIZATION)
|
|
|
|
# error "Localization is not supported by this configuration of libc++"
|
|
|
|
#endif
|
|
|
|
|
2016-11-19 09:14:15 +08:00
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
2020-10-28 21:26:56 +08:00
|
|
|
# pragma GCC system_header
|
2016-11-19 09:14:15 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include_next <locale.h>
|
|
|
|
|
|
|
|
#endif // _LIBCPP_LOCALE_H
|