Forráskód Böngészése

fix windows build

Samuel Thibault 9 éve
szülő
commit
ac24a188eb
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

@@ -219,7 +219,7 @@ static __starpu_inline unsigned long starpu_atomic_##name##l(unsigned long *ptr,
 	{ \
 		old = *ptr; \
 		next = expr; \
-		if (starpu_cmpxchg(ptr, old, next) == old) \
+		if (starpu_cmpxchgl(ptr, old, next) == old) \
 			break; \
 	}; \
 	return expr; \