Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move defines frmpo smpi.h to mpi.h, to avoid using them when compiling smpi (the...
authorAugustin Degomme <degomme@idpann.imag.fr>
Wed, 31 Oct 2012 14:18:19 +0000 (15:18 +0100)
committerAugustin Degomme <degomme@idpann.imag.fr>
Wed, 31 Oct 2012 14:27:15 +0000 (15:27 +0100)
include/smpi/mpi.h
include/smpi/smpi.h

index b08f1ce..b626e5b 100644 (file)
@@ -9,6 +9,9 @@
 
 #define SEED 221238
 
+#define sleep(x) smpi_sleep(x)
+#define gettimeofday(x, y) smpi_gettimeofday(x, y)
+
 #include <smpi/smpi.h>
 #include <xbt/sysdep.h>
 #include <xbt/log.h>
index 567cafa..784a186 100644 (file)
@@ -12,8 +12,6 @@
 #include <xbt/misc.h>
 #include <xbt/function_types.h>
 
-#define sleep(x) smpi_sleep(x)
-#define gettimeofday(x, y) smpi_gettimeofday(x, y)
 
 #ifdef _WIN32
 #define MPI_CALL(type,name,args) \