projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddabc5
)
[!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 ffa54c39628cc275c9a26bac2067fc0b747877e6..5dbd4d726ee812ddedc5c7729c5960244d286cf2 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