[!HAVE_DECL_MEMCHR]: Declare memchr.
authorJim Meyering <jim@meyering.net>
Sat, 3 Jun 2000 21:47:37 +0000 (21:47 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Jun 2000 21:47:37 +0000 (21:47 +0000)
lib/strnlen.c

index 89f8185..dd22db9 100644 (file)
 
 #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