summaryrefslogtreecommitdiff
path: root/wcsmbs/wcslen.c
diff options
context:
space:
mode:
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;