Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
clang does not define _Bool in C++, so use bool instead
[simgrid.git] / src / smpi / smpi_mpi_dt.cpp
index e7097e3..baf46dd 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);