Skip to content

Commit

Permalink
-moved FactoryExport.h to header
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25748 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
RuedKamp committed Apr 27, 2015
1 parent 831361e commit 26a4f09
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions SimulationRuntime/cpp/Include/Core/System/FactoryExport.h
@@ -0,0 +1,20 @@
#pragma once

#if defined(__vxworks) || defined(__TRICORE__)

#define BOOST_EXTENSION_SYSTEM_DECL
#define BOOST_EXTENSION_EVENTHANDLING_DECL
#define BOOST_EXTENSION_ALGLOOPDEFAULTIMPL_DECL
#define BOOST_EXTENSION_SIMVARS_DECL
#elif defined(OMC_BUILD) || defined(SIMSTER_BUILD)

#define BOOST_EXTENSION_SYSTEM_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_EVENTHANDLING_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_ALGLOOPDEFAULTIMPL_DECL BOOST_EXTENSION_EXPORT_DECL
#define BOOST_EXTENSION_SIMVARS_DECL BOOST_EXTENSION_EXPORT_DECL
#else
error "operating system not supported"
#endif



0 comments on commit 26a4f09

Please sign in to comment.