projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05cc558
)
[!HAVE_DECL_MEMCHR]: Declare memchr.
author
Jim Meyering
<jim@meyering.net>
Sat, 3 Jun 2000 21:47:37 +0000
(21:47 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 3 Jun 2000 21:47:37 +0000
(21:47 +0000)
lib/strnlen.c
patch
|
blob
|
history
diff --git
a/lib/strnlen.c
b/lib/strnlen.c
index 89f8185267e0f8f3254dd87ff32c5c05ffa916bb..dd22db92e6c14fb2ff4e3aa2d73cc9b056c72570 100644
(file)
--- 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