- Add extern "C" to resolve linkage specification problems.
This commit was SVN r16577.
Этот коммит содержится в:
родитель
86824ffb7b
Коммит
3c38c9c020
@ -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
|
Загрузка…
x
Ссылка в новой задаче
Block a user