X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/731c4a5371dc691c8eb833f7d4617c7a94f91680..c46aba70aa4ccf22cc19fac31d451c7158e922dd:/src/smpi/smpi_mpi_dt.cpp diff --git a/src/smpi/smpi_mpi_dt.cpp b/src/smpi/smpi_mpi_dt.cpp index e7097e30da..bee1d73bc4 100644 --- a/src/smpi/smpi_mpi_dt.cpp +++ b/src/smpi/smpi_mpi_dt.cpp @@ -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); } }