projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d975a
)
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
author
Jim Meyering
<jim@meyering.net>
Sat, 24 Jun 2000 12:01:03 +0000
(12:01 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 24 Jun 2000 12:01:03 +0000
(12:01 +0000)
lib/error.c
patch
|
blob
|
history
diff --git
a/lib/error.c
b/lib/error.c
index
ffa54c3
..
5dbd4d7
100644
(file)
--- a/
lib/error.c
+++ b/
lib/error.c
@@
-49,6
+49,13
@@
void exit ();
#include "error.h"
+#ifndef HAVE_DECL_STRERROR_R
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_STRERROR_R
+char *strerror_r ();
+#endif
+
#ifndef _
# define _(String) String
#endif