From a201fbcf9cc3458257dff87b7fb293e57d7c64b9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 24 Oct 2011 11:46:19 +0200 Subject: Fix lost wcslen symbol --- wcsmbs/wcslen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wcsmbs/wcslen.c') 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 /* 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; -- cgit v1.2.3