Skip to content

Commit 2ac436e

Browse files
committed
-vxworks includes
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22561 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent c28fb95 commit 2ac436e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

SimulationRuntime/cpp/Include/Core/Solver/SimulationMonitor.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#pragma once
22

3+
#if defined(__vxworks)
4+
#define BOOST_EXTENSION_MONITOR_DECL
5+
#endif
6+
37
class BOOST_EXTENSION_MONITOR_DECL SimulationMonitor
48
{
59
public:
@@ -14,4 +18,4 @@ class BOOST_EXTENSION_MONITOR_DECL SimulationMonitor
1418
bool _interrupt;
1519
/*cpu_timer _timer;*/
1620

17-
};
21+
};

SimulationRuntime/cpp/Include/Core/Solver/SolverSettings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,5 @@ class BOOST_EXTENSION_SOLVERSETTINGS_DECL SolverSettings : public ISolverSetting
6464

6565
bool
6666
_denseOutput;
67+
6768
};

SimulationRuntime/cpp/Include/Core/Solver/SystemStateSelection.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
#undef BOOST_EXTENSION_STATESELECT_DECL
88
#define BOOST_EXTENSION_STATESELECT_DECL
99
#endif
10+
#if defined(__vxworks)
11+
#undef BOOST_EXTENSION_STATESELECT_DECL
12+
#define BOOST_EXTENSION_STATESELECT_DECL
13+
#endif
1014
class BOOST_EXTENSION_STATESELECT_DECL SystemStateSelection
1115
{
1216
public:

0 commit comments

Comments
 (0)