Browse Source

fix windows build

Samuel Thibault 9 years ago
parent
commit
ac24a188eb
1 changed files with 1 additions and 1 deletions
  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; \