Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:mquinson/simgrid
[simgrid.git] / src / smpi / smpi_mpi_dt.cpp
index e7097e3..bee1d73 100644 (file)
@@ -108,7 +108,7 @@ CREATE_MPI_DATATYPE(MPI_FLOAT, float);
 CREATE_MPI_DATATYPE(MPI_DOUBLE, double);
 CREATE_MPI_DATATYPE(MPI_LONG_DOUBLE, long double);
 CREATE_MPI_DATATYPE(MPI_WCHAR, wchar_t);
-CREATE_MPI_DATATYPE(MPI_C_BOOL, _Bool);
+CREATE_MPI_DATATYPE(MPI_C_BOOL, bool);
 CREATE_MPI_DATATYPE(MPI_BYTE, int8_t);
 CREATE_MPI_DATATYPE(MPI_INT8_T, int8_t);
 CREATE_MPI_DATATYPE(MPI_INT16_T, int16_t);
@@ -1446,7 +1446,7 @@ static void land_func(void *a, void *b, int *length,
   } else if (*datatype == MPI_UNSIGNED_CHAR) {
     APPLY_FUNC(a, b, length, unsigned char, LAND_OP);
   } else if (*datatype == MPI_C_BOOL) {
-    APPLY_FUNC(a, b, length, _Bool, LAND_OP);
+    APPLY_FUNC(a, b, length, bool, LAND_OP);
   }
 }
 
@@ -1470,7 +1470,7 @@ static void lor_func(void *a, void *b, int *length,
   } else if (*datatype == MPI_UNSIGNED_CHAR) {
     APPLY_FUNC(a, b, length, unsigned char, LOR_OP);
   } else if (*datatype == MPI_C_BOOL) {
-    APPLY_FUNC(a, b, length, _Bool, LOR_OP);
+    APPLY_FUNC(a, b, length, bool, LOR_OP);
   }
 }
 
@@ -1494,7 +1494,7 @@ static void lxor_func(void *a, void *b, int *length,
   } else if (*datatype == MPI_UNSIGNED_CHAR) {
     APPLY_FUNC(a, b, length, unsigned char, LXOR_OP);
   } else if (*datatype == MPI_C_BOOL) {
-    APPLY_FUNC(a, b, length, _Bool, LXOR_OP);
+    APPLY_FUNC(a, b, length, bool, LXOR_OP);
   }
 }