Defined a macro to replace strerror(3) with calls to thread-safe wrapper

This commit is contained in:
Tobias Brunner
2012-06-28 13:14:52 +02:00
parent 2a59527659
commit bbbffac3ab
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -254,6 +254,8 @@ const char *safe_strerror(int errnum)
return msg;
}
#else /* HAVE_STRERROR_R */
/* we actually wan't to call strerror(3) below */
#undef strerror
/*
* Described in header.
*/