Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -187,13 +187,13 @@ void XrayFluoRunAction::ReadData(G4double unitE, G4String fileName)
|
||||
G4String name = ost.str();
|
||||
char* path;
|
||||
|
||||
if (!(getenv("XRAYDATA"))) {
|
||||
if (!(std::getenv("XRAYDATA"))) {
|
||||
|
||||
path = getenv("PWD");
|
||||
path = std::getenv("PWD");
|
||||
}
|
||||
|
||||
else {
|
||||
path = getenv("XRAYDATA");
|
||||
path = std::getenv("XRAYDATA");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user