[!HAVE_DECL_STRNLEN]: Declare strnlen.
authorJim Meyering <jim@meyering.net>
Tue, 4 Jul 2000 17:37:43 +0000 (17:37 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 4 Jul 2000 17:37:43 +0000 (17:37 +0000)
lib/strndup.c

index 6f59717..136e51c 100644 (file)
 char *malloc ();
 #endif
 
+#ifndef HAVE_DECL_STRNLEN
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_STRNLEN
+size_t strnlen ();
+#endif
+
 #undef __strndup
 #undef strndup