projects
/
gnulib.git
/ 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
89f8185
..
dd22db9
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