2010-05-11 19:42:16 +00:00
|
|
|
// -*- C++ -*-
|
2022-06-26 20:05:32 +00:00
|
|
|
//===--------------------------- clocale ----------------------------------===//
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
2019-01-19 10:56:40 +00: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
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_CLOCALE
|
|
|
|
#define _LIBCPP_CLOCALE
|
|
|
|
|
|
|
|
/*
|
|
|
|
clocale synopsis
|
|
|
|
|
|
|
|
Macros:
|
|
|
|
|
|
|
|
LC_ALL
|
|
|
|
LC_COLLATE
|
|
|
|
LC_CTYPE
|
|
|
|
LC_MONETARY
|
|
|
|
LC_NUMERIC
|
|
|
|
LC_TIME
|
|
|
|
NULL
|
|
|
|
|
|
|
|
namespace std
|
|
|
|
{
|
|
|
|
|
|
|
|
struct lconv;
|
|
|
|
char* setlocale(int category, const char* locale);
|
|
|
|
lconv* localeconv();
|
|
|
|
|
|
|
|
} // std
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <__config>
|
|
|
|
#include <locale.h>
|
|
|
|
|
2011-10-17 20:05:10 +00:00
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
2010-05-11 19:42:16 +00:00
|
|
|
#pragma GCC system_header
|
2011-10-17 20:05:10 +00:00
|
|
|
#endif
|
2010-05-11 19:42:16 +00:00
|
|
|
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
|
2022-06-26 16:13:52 +00:00
|
|
|
using ::lconv _LIBCPP_USING_IF_EXISTS;
|
2022-06-26 20:05:32 +00:00
|
|
|
#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
|
2022-06-26 16:13:52 +00:00
|
|
|
using ::setlocale _LIBCPP_USING_IF_EXISTS;
|
2022-06-26 20:05:32 +00:00
|
|
|
#endif
|
2022-06-26 16:13:52 +00:00
|
|
|
using ::localeconv _LIBCPP_USING_IF_EXISTS;
|
2010-05-11 19:42:16 +00:00
|
|
|
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|
|
|
|
|
2022-06-26 16:13:52 +00:00
|
|
|
#endif // _LIBCPP_CLOCALE
|