locale.h 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 "<locale.h> is not supported since libc++ has been configured without support for localization."
  29. #endif
  30. #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
  31. # pragma GCC system_header
  32. #endif
  33. #include_next <locale.h>
  34. #endif // _LIBCPP_LOCALE_H