mirror of
https://github.com/lammertb/libhttp.git
synced 2026-01-03 16:02:30 +03:00
FreeBSD also uses the XSI version of strerror_r
This commit is contained in:
@@ -167,7 +167,7 @@ LIBHTTP_API char *httplib_error_string( int error_code, char *buf, size_t buf_le
|
||||
|
||||
#else /* not _WIN32 */
|
||||
|
||||
#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! defined(_GNU_SOURCE)) /* XSI version of strerror_r */
|
||||
#if defined(__FreeBSD__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! defined(_GNU_SOURCE)) /* XSI version of strerror_r */
|
||||
|
||||
int return_val;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user