Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -80,7 +80,7 @@ namespace G4INCL {
|
||||
cleanTable();
|
||||
|
||||
#ifdef INCLXX_IN_GEANT4_MODE
|
||||
if(!getenv("G4INCLDATA")) {
|
||||
if(!std::getenv("G4INCLDATA")) {
|
||||
G4ExceptionDescription ed;
|
||||
ed << " Data missing: set environment variable G4INCLDATA\n"
|
||||
<< " to point to the directory containing data files needed\n"
|
||||
@@ -88,7 +88,7 @@ namespace G4INCL {
|
||||
G4Exception("G4INCLDataFile::readData()","table_radius_hfb.dat",
|
||||
FatalException, ed);
|
||||
}
|
||||
G4String dataPath0(getenv("G4INCLDATA"));
|
||||
G4String dataPath0(std::getenv("G4INCLDATA"));
|
||||
G4String dataPath(dataPath0 + "/table_radius_hfb.dat");
|
||||
#else
|
||||
// File name
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace G4INCL {
|
||||
}
|
||||
|
||||
void initVerbosityLevelFromEnvvar() {
|
||||
const char * const envVar = getenv("G4INCL_DEBUG_VERBOSITY");
|
||||
const char * const envVar = std::getenv("G4INCL_DEBUG_VERBOSITY");
|
||||
if(envVar) {
|
||||
std::stringstream verbss(envVar);
|
||||
verbss >> verbosityLevel;
|
||||
|
||||
Reference in New Issue
Block a user