_string.h 706 B

123456789101112131415161718192021222324252627282930313233
  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. #define _GNU_SOURCE
  10. #include <features.h>
  11. #include <string.h>
  12. #include <limits.h>
  13. #include <stdint.h>
  14. #ifdef WANT_WIDE
  15. # include <wchar.h>
  16. # include <wctype.h>
  17. # include <bits/uClibc_uwchar.h>
  18. # define Wvoid wchar_t
  19. # define Wchar wchar_t
  20. # define Wuchar __uwchar_t
  21. # define Wint wchar_t
  22. #else
  23. # define Wvoid void
  24. # define Wchar char
  25. typedef unsigned char __string_uchar_t;
  26. # define Wuchar __string_uchar_t
  27. # define Wint int
  28. #endif
  29. #endif /* __STRING_H */