---
 include/starpu_util.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/starpu_util.h
+++ b/include/starpu_util.h
@@ -148,7 +148,7 @@ extern "C"
 } while(0)
 
 #if defined(STARPU_HAVE_STRERROR_R)
-#if !__GLIBC__ || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
+#if (! defined(__GLIBC__) || !__GLIBC__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && (! defined(_GNU_SOURCE)))
 /* XSI-compliant version of strerror_r returns an int */
 #define starpu_strerror_r(errnum, buf, buflen) \
 	do \
