From c5c3fe37097ac1a7b112a573cd09f16f8a798701 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 7 Feb 2016 12:21:07 +0100 Subject: [PATCH] clang does not define _Bool in C++, so use bool instead --- src/smpi/smpi_mpi_dt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/smpi_mpi_dt.cpp b/src/smpi/smpi_mpi_dt.cpp index e7097e30da..baf46dd2ba 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); -- 2.20.1