浏览代码

fix windows build

Samuel Thibault 9 年之前
父节点
当前提交
ac24a188eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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; \