From 28fda15a2d3adc880296f7cc3d118cda70bc0c1f Mon Sep 17 00:00:00 2001 From: Niklas Worschech Date: Tue, 15 Sep 2015 10:03:37 +0200 Subject: [PATCH] fix in cpp runtime for XmlPropertyReader and fmi export --- SimulationRuntime/cpp/Include/Core/System/FactoryExport.h | 1 + SimulationRuntime/cpp/Include/FMU/FactoryExport.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SimulationRuntime/cpp/Include/Core/System/FactoryExport.h b/SimulationRuntime/cpp/Include/Core/System/FactoryExport.h index bfc4ed6e705..911f054a8fa 100644 --- a/SimulationRuntime/cpp/Include/Core/System/FactoryExport.h +++ b/SimulationRuntime/cpp/Include/Core/System/FactoryExport.h @@ -10,6 +10,7 @@ #define BOOST_EXTENSION_EVENTHANDLING_DECL #define BOOST_EXTENSION_ALGLOOPDEFAULTIMPL_DECL #define BOOST_EXTENSION_SIMVARS_DECL + #define BOOST_EXTENSION_XML_READER_DECL #elif defined(OMC_BUILD) || defined(SIMSTER_BUILD) #define BOOST_EXTENSION_LOGGER_DECL BOOST_EXTENSION_IMPORT_DECL #define BOOST_EXTENSION_SYSTEM_DECL BOOST_EXTENSION_EXPORT_DECL diff --git a/SimulationRuntime/cpp/Include/FMU/FactoryExport.h b/SimulationRuntime/cpp/Include/FMU/FactoryExport.h index 91d4ae2dff7..8668057056f 100644 --- a/SimulationRuntime/cpp/Include/FMU/FactoryExport.h +++ b/SimulationRuntime/cpp/Include/FMU/FactoryExport.h @@ -11,9 +11,10 @@ #elif defined(RUNTIME_STATIC_LINKING) && (defined(OMC_BUILD) || defined(SIMSTER_BUILD)) #define BOOST_EXTENSION_LOGGER_DECL - +#define BOOST_EXTENSION_XML_READER_DECL #elif defined(OMC_BUILD) || defined(SIMSTER_BUILD) #define BOOST_EXTENSION_LOGGER_DECL BOOST_EXTENSION_IMPORT_DECL +#define BOOST_EXTENSION_XML_READER_DECL BOOST_EXTENSION_EXPORT_DECL #else error "operating system not supported" #endif