[!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 6f59717cfab46b0c6dd3d6f326cc87fc75e57888..136e51c736d4c8656cd2ab3f11767028a876e554 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