Browse Source

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

Nathalie Furmento 10 years ago
parent
commit
4c3e6a8782
1 changed files with 2 additions and 0 deletions
  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
 };