Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -67,7 +67,7 @@ void G4OpenInventorXt::Initialize()
Widget top = (Widget)GetInteractorManager()->GetMainInteractor();
if(getenv("XENVIRONMENT")==NULL) {
if(std::getenv("XENVIRONMENT")==NULL) {
XrmDatabase database = XrmGetDatabase(XtDisplay(top));
if(database!=NULL) {
XrmPutLineResource(&database,"*topShadowColor:white");
@@ -74,7 +74,7 @@ void G4OpenInventorXtExtended::Initialize()
Widget top = (Widget)GetInteractorManager()->GetMainInteractor();
G4cout << "TOP LEVEL WIDGET FOR SoXt::init() = " << top << G4endl;
if(getenv("XENVIRONMENT")==NULL) {
if(std::getenv("XENVIRONMENT")==NULL) {
XrmDatabase database = XrmGetDatabase(XtDisplay(top));
if(database!=NULL) {
XrmPutLineResource(&database,"*topShadowColor:white");