Procházet zdrojové kódy

simgrid: Avoid including xbt/synchro.h when we have the s4u equivalent

Samuel Thibault před 5 roky
rodič
revize
37ead48eee
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      src/common/thread.c

+ 4 - 1
src/common/thread.c

@@ -29,7 +29,10 @@
 #include <limits.h>
 
 #ifdef STARPU_SIMGRID
-#ifdef STARPU_HAVE_XBT_SYNCHRO_H
+#ifdef STARPU_HAVE_SIMGRID_MUTEX_H
+#include <simgrid/mutex.h>
+#include <simgrid/cond.h>
+#elif defined(STARPU_HAVE_XBT_SYNCHRO_H)
 #include <xbt/synchro.h>
 #else
 #include <xbt/synchro_core.h>