From b1e16fffaca87b4760d99596d65394c31fb2340e Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 6 Dec 2006 13:58:04 +0000 Subject: [PATCH] Add the C++ doo-hicky stuff around the odls framework definitions just in case somebody, somewhere, on some remote planet where only goats can feed needs it. This commit was SVN r12777. --- orte/mca/odls/odls.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/orte/mca/odls/odls.h b/orte/mca/odls/odls.h index bb219be206..6c6a30de5e 100644 --- a/orte/mca/odls/odls.h +++ b/orte/mca/odls/odls.h @@ -40,7 +40,10 @@ /* * odls module functions */ - +#if defined(c_plusplus) || defined(__cplusplus) +extern "C" { +#endif + /** * Subscribe to receive the launch data for local processes */ @@ -140,5 +143,8 @@ typedef orte_odls_base_component_1_3_0_t orte_odls_base_component_t; */ ORTE_DECLSPEC extern orte_odls_base_module_t orte_odls; /* holds selected module's function pointers */ +#if defined(c_plusplus) || defined(__cplusplus) +} +#endif #endif /* MCA_ODLS_H */