Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
isXMLTCP is defined only if NO_INTERACTIVE_DEPENDENCY is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo authored and OpenModelica-Hudson committed Nov 28, 2016
1 parent 3ee365e commit e1efb57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SimulationRuntime/c/simulation/simulation_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,12 @@ int initRuntimeAndSimulation(int argc, char**argv, DATA *data, threadData_t *thr
communicateStatus("Starting", 0.0, data->simulationInfo->startTime, 0);
}
}
#endif

if (isXMLTCP && !sim_communication_port_open) {
errorStreamPrint(LOG_STDOUT, 0, "xmltcp log format requires a TCP-port to be passed (and successfully open)");
EXIT(1);
}
#endif
// ppriv - NO_INTERACTIVE_DEPENDENCY - for simpler debugging in Visual Studio

return 0;
Expand Down

0 comments on commit e1efb57

Please sign in to comment.