X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b3677b425b9cc6949c1573d59ac772540cbf4b2..3eb8b6369503c39208fcf754830b6b26dc4186fc:/include/smpi/mpi.h diff --git a/include/smpi/mpi.h b/include/smpi/mpi.h index 28309832ac..2cb6aca2b4 100644 --- a/include/smpi/mpi.h +++ b/include/smpi/mpi.h @@ -10,11 +10,19 @@ #define SEED 221238 #define sleep(x) smpi_sleep(x) -#define gettimeofday(x, y) smpi_gettimeofday(x) #include #include #include #include +#include + +#include /* 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 +#undef assert +#define assert(x) MC_assert(x) +#endif #endif