Defined a macro to replace strerror(3) with calls to thread-safe wrapper
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user