diff --git a/ompi/mca/mtl/mx/mtl_mx_types.h b/ompi/mca/mtl/mx/mtl_mx_types.h index f61e5557e4..c7fd851ed4 100644 --- a/ompi/mca/mtl/mx/mtl_mx_types.h +++ b/ompi/mca/mtl/mx/mtl_mx_types.h @@ -58,7 +58,7 @@ struct mca_mtl_mx_component_t{ }; typedef struct mca_mtl_mx_component_t mca_mtl_mx_component_t; -OMPI_DECLSPEC mca_mtl_mx_component_t mca_mtl_mx_component; +OMPI_MODULE_DECLSPEC extern mca_mtl_mx_component_t mca_mtl_mx_component; /* match/ignore bit manipulation