Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid undefined NULL
[simgrid.git] / include / smpi / mpi.h
index f5ff19f..d609d3d 100644 (file)
@@ -9,8 +9,6 @@
 
 #define SEED 221238
 
-#define sleep(x) smpi_sleep(x)
-
 #include <smpi/smpi.h>
 #include <xbt/sysdep.h>
 #include <xbt/log.h>
@@ -18,9 +16,8 @@
 #include <simgrid/modelchecker.h>
 
 #include <sys/time.h> /* Load it before the define next line to not mess with the system headers */
-#define gettimeofday(x, y) smpi_gettimeofday(x, NULL)
 
-#if HAVE_MC
+#if SIMGRID_HAVE_MC
 #undef assert
 #define assert(x) MC_assert(x)
 #endif