wcsdup.c 361 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #define L_strdup
  7. #define WANT_WIDE
  8. #define Wstrdup __wcsdup
  9. #undef Wstrlen
  10. #undef Wstrcpy
  11. #define Wstrlen __wcslen
  12. #define Wstrcpy __wcscpy
  13. #include "wstring.c"
  14. strong_alias(__wcsdup, wcsdup)
  15. #undef L_strdup