Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused typedef SMPI_Process.
[simgrid.git] / include / smpi / smpi_helpers.h
1 #include <sys/time.h> /* Load it before the define next line to not mess with the system headers */
2
3 #define sleep(x) smpi_sleep(x)
4 #define usleep(x) smpi_usleep(x)
5 #define gettimeofday(x, y) smpi_gettimeofday(x, NULL)
6 #if _POSIX_TIMERS > 0
7 #define nanosleep(x, y) smpi_nanosleep(x, y)
8 #define clock_gettime(x, y) smpi_clock_gettime(x, y)
9 #endif
10 #if SIMGRID_HAVE_MC
11 #undef assert
12 #define assert(x) MC_assert(x)
13 #endif
14
15 #define getopt(x,y,z) smpi_getopt(x,y,z)
16 #define getopt_long(x,y,z,a,b) smpi_getopt_long(x,y,z,a,b)