Skip to content

Commit

Permalink
Fix Windows build with logs for dynamic state selection (issue #7893)
Browse files Browse the repository at this point in the history
This was wrongly introduced with commit 853df89.
  • Loading branch information
rfranke committed Sep 14, 2021
1 parent a5c325c commit 12eb8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMCompiler/SimulationRuntime/cpp/Core/Solver/FactoryExport.h
Expand Up @@ -5,19 +5,19 @@
*/
#if defined(__vxworks) || defined(__TRICORE__) || defined(RUNTIME_STATIC_LINKING)

#define BOOST_EXTENSION_LOGGER_DECL
#define BOOST_EXTENSION_SOLVER_DECL
#define BOOST_EXTENSION_SOLVERSETTINGS_DECL
#define BOOST_EXTENSION_STATESELECT_DECL
#define BOOST_EXTENSION_MONITOR_DECL
#define BOOST_EXTENSION_LOGGER_DECL

#elif defined(OMC_BUILD) || defined(SIMSTER_BUILD)

#define BOOST_EXTENSION_LOGGER_DECL BOOST_EXTENSION_IMPORT_DECL
#define BOOST_EXTENSION_SOLVER_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_STATESELECT_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_SOLVERSETTINGS_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_MONITOR_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_LOGGER_DECL BOOST_EXTENSION_EXPORT_DECL
#else
error "operating system not supported"
#endif
Expand Down

0 comments on commit 12eb8cf

Please sign in to comment.