Message ID | 1466025487-26743-3-git-send-email-mjeanson@efficios.com |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/src/common/error.h b/src/common/error.h index 0fbd3a2..e8c811e 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -198,7 +198,7 @@ static inline void __lttng_print_check_abort(enum lttng_error_level type) #define _PERROR(fmt, args...) _ERRMSG("PERROR", PRINT_ERR, fmt, ## args) -#if !defined(__linux__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) +#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) /* * Version using XSI strerror_r.
Signed-off-by: Michael Jeanson <mjeanson at efficios.com> --- src/common/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)