소스 검색

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; \