소스 검색

include/starpu_task.h: do not make ABI dependant on OPENMP availability

Nathalie Furmento 10 년 전
부모
커밋
4c3e6a8782
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/starpu_task.h

+ 2 - 0
include/starpu_task.h

@@ -200,6 +200,8 @@ struct starpu_task
 	unsigned prefetched;
 #ifdef STARPU_OPENMP
 	struct starpu_omp_task *omp_task;
+#else
+	void *omp_task;
 #endif
 };