Forráskód Böngészése

Fix build with some versions of simgrid

Samuel Thibault 5 éve
szülő
commit
52b7d29e9f
1 módosított fájl, 1 hozzáadás és 1 törlés
  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());