X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8886e06558103ffcb66db5039f010eaad20aa854..7dbf5c66d75338dce60fd2242be656eaa7e4d2da:/include/smpi/mpi.h?ds=sidebyside diff --git a/include/smpi/mpi.h b/include/smpi/mpi.h index fdaf9df4b1..482fa7eba8 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,19 @@ #define SEED 221238 +#define sleep(x) smpi_sleep(x) + #include #include #include #include +#include -#define sleep(x) smpi_sleep(x) -#define gettimeofday(x, y) smpi_gettimeofday(x, y) +#define gettimeofday(x, y) smpi_gettimeofday(x, NULL) + +#ifdef HAVE_MC +#undef assert +#define assert(x) MC_assert(x) +#endif #endif