瀏覽代碼

Fix build with some versions of simgrid

Samuel Thibault 5 年之前
父節點
當前提交
52b7d29e9f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common/thread.c

+ 1 - 1
src/common/thread.c

@@ -126,7 +126,7 @@ int starpu_pthread_join(starpu_pthread_t thread STARPU_ATTRIBUTE_UNUSED, void **
 
 int starpu_pthread_exit(void *retval STARPU_ATTRIBUTE_UNUSED)
 {
-#ifdef STARPU_HAVE_SIMGRID_ACTOR_H
+#ifdef HAVE_SG_ACTOR_SELF
 	sg_actor_kill(sg_actor_self());
 #else
 	MSG_process_kill(MSG_process_self());