X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8886e06558103ffcb66db5039f010eaad20aa854..cc7e6879786102a1075ac4a51ee714777a8166df:/include/smpi/mpi.h diff --git a/include/smpi/mpi.h b/include/smpi/mpi.h index fdaf9df4b1..4224e7ffbc 100644 --- a/include/smpi/mpi.h +++ b/include/smpi/mpi.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -9,12 +9,18 @@ #define SEED 221238 +#define sleep(x) smpi_sleep(x) +#define gettimeofday(x, y) smpi_gettimeofday(x) + #include #include #include #include +#include -#define sleep(x) smpi_sleep(x) -#define gettimeofday(x, y) smpi_gettimeofday(x, y) +#ifdef HAVE_MC +#undef assert +#define assert(x) MC_assert(x) +#endif #endif