Skip to content
Snippets Groups Projects
Commit 06e4fb50 authored by Frank Gaede's avatar Frank Gaede
Browse files

- made compatible with older geant4 versions (9.5)

parent 7a7cc4d3
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,13 @@ G4UIExecutive* Geant4UIManager::startUI() {
const char* args[] = {"DDG4","",""};
printout(INFO,"Geant4UIManager","+++ Starting G4UIExecutive '%s' of type %s....",
args[0], m_sessionType.c_str());
#if (G4VERSION_NUMBER >= 960)
ui = new G4UIExecutive(1,(char**)args,m_sessionType.c_str());
#else
ui = new G4UIExecutive(1,(char**)args );
#endif
return ui;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment