Skip to content

Commit

Permalink
fix in cpp runtime for XmlPropertyReader and fmi export
Browse files Browse the repository at this point in the history
  • Loading branch information
niklwors committed Sep 15, 2015
1 parent 31041f6 commit 28fda15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions SimulationRuntime/cpp/Include/Core/System/FactoryExport.h
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion SimulationRuntime/cpp/Include/FMU/FactoryExport.h
Expand Up @@ -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
Expand Down

0 comments on commit 28fda15

Please sign in to comment.