1
1

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.
Этот коммит содержится в:
Jeff Squyres 2005-05-25 18:29:00 +00:00
родитель 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