mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix lost wcslen symbol
This commit is contained in:
parent
bb3129bd25
commit
a201fbcf9c
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user