locale.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // -*- C++ -*-
  2. //===----------------------------------------------------------------------===//
  3. //
  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
  7. //
  8. //===----------------------------------------------------------------------===//
  9. #ifndef _LIBCPP_LOCALE_H
  10. #define _LIBCPP_LOCALE_H
  11. /*
  12. locale.h synopsis
  13. Macros:
  14. LC_ALL
  15. LC_COLLATE
  16. LC_CTYPE
  17. LC_MONETARY
  18. LC_NUMERIC
  19. LC_TIME
  20. Types:
  21. lconv
  22. Functions:
  23. setlocale
  24. localeconv
  25. */
  26. #include <__config>
  27. #if defined(_LIBCPP_HAS_NO_LOCALIZATION)
  28. # error "The Localization library is not supported since libc++ has been configured with LIBCXX_ENABLE_LOCALIZATION disabled"
  29. #endif
  30. #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
  31. # pragma GCC system_header
  32. #endif
  33. #ifdef _LIBCPP_COMPILER_MSVC
  34. #include Y_UCRT_INCLUDE_NEXT(locale.h)
  35. #else
  36. #include_next <locale.h>
  37. #endif
  38. #endif // _LIBCPP_LOCALE_H