wchar.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //===----------------------------------------------------------------------===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #define iswalpha sun_iswalpha
  9. #define iswupper sun_iswupper
  10. #define iswlower sun_iswlower
  11. #define iswdigit sun_iswdigit
  12. #define iswxdigit sun_iswxdigit
  13. #define iswalnum sun_iswalnum
  14. #define iswspace sun_iswspace
  15. #define iswpunct sun_iswpunct
  16. #define iswprint sun_iswprint
  17. #define iswgraph sun_iswgraph
  18. #define iswcntrl sun_iswcntrl
  19. #define iswctype sun_iswctype
  20. #define towlower sun_towlower
  21. #define towupper sun_towupper
  22. #define wcswcs sun_wcswcs
  23. #define wcswidth sun_wcswidth
  24. #define wcwidth sun_wcwidth
  25. #define wctype sun_wctype
  26. #define _WCHAR_T 1
  27. #include_next "wchar.h"
  28. #undef iswalpha
  29. #undef iswupper
  30. #undef iswlower
  31. #undef iswdigit
  32. #undef iswxdigit
  33. #undef iswalnum
  34. #undef iswspace
  35. #undef iswpunct
  36. #undef iswprint
  37. #undef iswgraph
  38. #undef iswcntrl
  39. #undef iswctype
  40. #undef towlower
  41. #undef towupper
  42. #undef wcswcs
  43. #undef wcswidth
  44. #undef wcwidth
  45. #undef wctype