Explorar o código

include/starpu_util.h: invert the if statement

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
91c3613a4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

@@ -46,7 +46,7 @@ extern "C"
 
 #define STARPU_ABORT()		abort()
 
-#if defined(STARPU_HAVE_WINDOWS)
+#if !defined(STARPU_HAVE_WINDOWS)
 #  define STARPU_CHECK_RETURN_VALUE(err, message) {if (err < 0) { \
 			char xmessage[256]; strerror_r(-err, xmessage, 256); \
 			fprintf(stderr, "StarPU function <%s> returned unexpected value: <%d:%s>\n", message, err, xmessage); \