From: Jim Meyering Date: Sat, 6 May 2000 15:45:30 +0000 (+0000) Subject: Undefine __strnlen and strnlen. X-Git-Tag: cvs-readonly~6669 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=007fb8a20056b14f651f2d5223c100a61ff2e80a;p=gnulib.git Undefine __strnlen and strnlen. [!weak_alias]: Define __strnlen to strnlen. --- diff --git a/lib/strnlen.c b/lib/strnlen.c index a2fcf73d7..89f818526 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -19,6 +19,13 @@ #include +#undef __strnlen +#undef strnlen + +#ifndef weak_alias +# define __strnlen strnlen +#endif + /* Find the length of STRING, but scan at most MAXLEN characters. If no '\0' terminator is found in that many characters, return MAXLEN. */