From 3c38c9c020a4574de07f60f88bce9c95f68949a8 Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Fri, 26 Oct 2007 09:54:42 +0000 Subject: [PATCH] - Add extern "C" to resolve linkage specification problems. This commit was SVN r16577. --- orte/mca/rmaps/rmaps.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/orte/mca/rmaps/rmaps.h b/orte/mca/rmaps/rmaps.h index 22869437fb..e15ed217a9 100644 --- a/orte/mca/rmaps/rmaps.h +++ b/orte/mca/rmaps/rmaps.h @@ -49,6 +49,10 @@ #include "orte/mca/rmaps/rmaps_types.h" +#if defined(c_plusplus) || defined(__cplusplus) +extern "C" { +#endif + /* * rmaps module functions */ @@ -135,5 +139,8 @@ typedef orte_rmaps_base_component_1_3_0_t orte_rmaps_base_component_t; /* global structure for accessing RMAPS modules */ ORTE_DECLSPEC extern orte_rmaps_base_module_t orte_rmaps; +#if defined(c_plusplus) || defined(__cplusplus) +} #endif +#endif \ No newline at end of file