Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't include mc_private.h when \!HAVE_MC.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 27 Jan 2014 15:23:00 +0000 (16:23 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 27 Jan 2014 15:23:00 +0000 (16:23 +0100)
src/simix/smx_smurf.c
src/smpi/colls/smpi_automatic_selector.c

index a5a3e27..207c3de 100644 (file)
@@ -1,7 +1,9 @@
 #include "smx_private.h"
 #include "xbt/fifo.h"
 #include "xbt/xbt_os_thread.h"
-#include "../mc/mc_private.h"
+#ifdef HAVE_MC
+#include "mc/mc_private.h"
+#endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_smurf, simix,
                                 "Logging specific to SIMIX (SMURF)");
index 54bdcc1..9f21347 100644 (file)
@@ -1,5 +1,7 @@
 #include "colls_private.h"
+#ifdef HAVE_MC
 #include "mc/mc_private.h"
+#endif
 #include <float.h>
 
 //attempt to do a quick autotuning version of the collective,