Explorar o código

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

Nathalie Furmento %!s(int64=10) %!d(string=hai) anos
pai
achega
4c3e6a8782
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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
 };