locale.h 977 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. #if __has_include_next(<locale.h>)
  34. # include_next <locale.h>
  35. #endif
  36. #endif // _LIBCPP_LOCALE_H