about summary refs log tree commit diff
path: root/wcsmbs/wcslen.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-10-24 11:46:19 +0200
committerAndreas Schwab <schwab@redhat.com>2011-10-24 12:03:33 +0200
commita201fbcf9cc3458257dff87b7fb293e57d7c64b9 (patch)
tree0d8f0ba7428f1456112d5c4bb41dbeba48a1928f /wcsmbs/wcslen.c
parentbb3129bd2503bd3339b5418cca4eef97f16128b6 (diff)
downloadglibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.tar.gz
glibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.tar.xz
glibc-a201fbcf9cc3458257dff87b7fb293e57d7c64b9.zip
Fix lost wcslen symbol
Diffstat (limited to 'wcsmbs/wcslen.c')
-rw-r--r--wcsmbs/wcslen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wcsmbs/wcslen.c b/wcsmbs/wcslen.c
index 4d7972b7c6..991e151720 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;