From: Jim Meyering Date: Sat, 24 Jun 2000 12:01:03 +0000 (+0000) Subject: [!HAVE_DECL_STRERROR_R]: Declare strerror_r. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=067a83f1ec0c1d628c09b7964110558e49ef81d3;p=pspp [!HAVE_DECL_STRERROR_R]: Declare strerror_r. --- diff --git a/lib/error.c b/lib/error.c index ffa54c3962..5dbd4d726e 100644 --- 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