only enable the GNU libc strerror_r on GNU libc
We don't want use the non-standard GNU libc variant of strerror_r on musl libc, or any libc other than GNU.
This commit is contained in:
parent
cd07923dd2
commit
621764c13d
|
@ -70,7 +70,7 @@ struct sigar_t {
|
|||
};
|
||||
|
||||
#define HAVE_STRERROR_R
|
||||
#ifndef __USE_XOPEN2K
|
||||
#if !defined(__USE_XOPEN2K) && defined(__GLIBC__)
|
||||
/* use gnu version of strerror_r */
|
||||
#define HAVE_STRERROR_R_GLIBC
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue