diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-03 21:47:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-03 21:47:37 +0000 |
commit | 85b73e4b0a5e874f93751eb6f4f7ace166d5f5fb (patch) | |
tree | cf4467e772deed729701ff5befb69131ea3a14c2 /lib/strnlen.c | |
parent | 05cc558f7a49f536222937ba182d777f8555151c (diff) | |
download | gnulib-85b73e4b0a5e874f93751eb6f4f7ace166d5f5fb.tar.gz |
[!HAVE_DECL_MEMCHR]: Declare memchr.
Diffstat (limited to 'lib/strnlen.c')
-rw-r--r-- | lib/strnlen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/strnlen.c b/lib/strnlen.c index 89f8185267..dd22db92e6 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -19,6 +19,13 @@ #include <string.h> +#ifndef HAVE_DECL_MEMCHR +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_MEMCHR +char *memchr (); +#endif + #undef __strnlen #undef strnlen |