Commit aae807c0 by Richard Kenner

(my_strerror): If HAVE_STRERROR defined, call strerror.

From-SVN: r8239
parent e19571db
......@@ -305,8 +305,13 @@ char *
my_strerror (e)
int e;
{
static char buffer[30];
#ifdef HAVE_STRERROR
return strerror (e);
#else
static char buffer[30];
if (!e)
return "";
......@@ -315,6 +320,7 @@ my_strerror (e)
sprintf (buffer, "Unknown error %d", e);
return buffer;
#endif
}
/* Delete tempfiles and exit function. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment