Fix logic mistake with the OMPI_WANT_CXX_BINDINGS macro -- it's not
enough that it's defined; it must also be true before we include the C++ bindings header files. This commit was SVN r5868.
Этот коммит содержится в:
родитель
80ba76e486
Коммит
f16e86ec81
@ -1691,7 +1691,7 @@ OMPI_DECLSPEC double PMPI_Wtime(void);
|
||||
* - We are using a C++ compiler
|
||||
*/
|
||||
|
||||
#if defined(OMPI_WANT_CXX_BINDINGS) && !OMPI_BUILDING
|
||||
#if defined(OMPI_WANT_CXX_BINDINGS) && OMPI_WANT_CXX_BINDINGS && !OMPI_BUILDING
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
#include "mpi/cxx/mpicxx.h"
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user