diff --git a/src/op/op_predefined.h b/src/op/op_predefined.h index d493b1ba8e..3e263b8bca 100644 --- a/src/op/op_predefined.h +++ b/src/op/op_predefined.h @@ -143,4 +143,8 @@ extern "C" { OMPI_OP_HANDLER_COMPLEX(replace); OMPI_OP_HANDLER_BYTE(replace); +#if defined(c_plusplus) || defined(__cplusplus) +} +#endif + #endif /* OMPI_OP_PREDEFINED_H */