diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-10-24 11:46:19 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2011-10-24 12:03:33 +0200 |
commit | a201fbcf9cc3458257dff87b7fb293e57d7c64b9 (patch) | |
tree | 0d8f0ba7428f1456112d5c4bb41dbeba48a1928f | |
parent | bb3129bd2503bd3339b5418cca4eef97f16128b6 (diff) | |
download | glibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.zip glibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.tar.gz glibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.tar.bz2 |
Fix lost wcslen symbol
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | wcsmbs/wcslen.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2011-10-24 Andreas Schwab <schwab@redhat.com> + + * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic. + 2011-10-23 Ulrich Drepper <drepper@gmail.com> * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file. diff --git a/wcsmbs/wcslen.c b/wcsmbs/wcslen.c index 4d7972b..991e151 100644 --- a/wcsmbs/wcslen.c +++ b/wcsmbs/wcslen.c @@ -20,12 +20,12 @@ #include <wchar.h> /* Return length of string S. */ -#ifndef WCSLEN -# define WCSLEN __wcslen +#ifdef WCSLEN +# define __wcslen WCSLEN #endif size_t -WCSLEN (s) +__wcslen (s) const wchar_t *s; { size_t len = 0; |