From b5fccb9ee8a7ceeaac12a51a9963e0be26247971 Mon Sep 17 00:00:00 2001 From: degomme Date: Sun, 19 Jun 2016 13:46:18 +0200 Subject: [PATCH] Only on macos, these defines were actually ignored. --- include/smpi/mpi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/smpi/mpi.h b/include/smpi/mpi.h index 7adc4b498e..5021574a10 100644 --- a/include/smpi/mpi.h +++ b/include/smpi/mpi.h @@ -9,9 +9,6 @@ #define SEED 221238 -#define sleep(x) smpi_sleep(x) -#define usleep(x) smpi_usleep(x) - #include #include #include @@ -19,6 +16,9 @@ #include #include /* Load it before the define next line to not mess with the system headers */ + +#define sleep(x) smpi_sleep(x) +#define usleep(x) smpi_usleep(x) #define gettimeofday(x, y) smpi_gettimeofday(x, NULL) #if _POSIX_TIMERS > 0 #define nanosleep(x, y) smpi_nanosleep(x, y) -- 2.20.1