_string.h 686 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2002 Manuel Novoa III
  3. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #ifndef __STRING_H
  8. #define __STRING_H
  9. #include <features.h>
  10. #include <string.h>
  11. #include <limits.h>
  12. #include <stdint.h>
  13. #ifdef WANT_WIDE
  14. # include <wchar.h>
  15. # include <wctype.h>
  16. # include <bits/uClibc_uwchar.h>
  17. # define Wvoid wchar_t
  18. # define Wchar wchar_t
  19. # define Wuchar __uwchar_t
  20. # define Wint wchar_t
  21. #else
  22. # define Wvoid void
  23. # define Wchar char
  24. typedef unsigned char __string_uchar_t;
  25. # define Wuchar __string_uchar_t
  26. # define Wint int
  27. #endif
  28. #endif /* __STRING_H */