Skip to content

Commit

Permalink
- Fix OSX compilation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9998 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 4, 2011
1 parent e32c441 commit b89a5e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c_runtime/simulation_runtime.cpp
Expand Up @@ -1065,7 +1065,8 @@ int _main_SimulationRuntime(int argc, char**argv)
int retVal = -1;
if (initRuntimeAndSimulation(argc, argv)) //initRuntimeAndSimulation returns 1 if an error occurs
return 1;
sighandler_t oldhandler = signal(SIGUSR1, SimulationRuntime_printStatus);
/* sighandler_t oldhandler = different type on all platforms... */
signal(SIGUSR1, SimulationRuntime_printStatus);

if (interactiveSimulation) {
cout << "startInteractiveSimulation: " << version << endl;
Expand Down

0 comments on commit b89a5e2

Please sign in to comment.