Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions core/foundation/src/FoundationUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <algorithm>
#include <cassert>
#include <cstdlib>

#include <errno.h>
#include <string.h>
Expand Down Expand Up @@ -150,7 +151,7 @@ const std::string& GetFallbackRootSys() {

#ifdef ROOTPREFIX
static bool IgnorePrefix() {
static bool ignorePrefix = ::getenv("ROOTIGNOREPREFIX");
static bool ignorePrefix = std::getenv("ROOTIGNOREPREFIX");
return ignorePrefix;
}
#endif
Expand All @@ -164,7 +165,7 @@ const std::string& GetRootSys() {
#endif
static std::string rootsys;
if (rootsys.empty()) {
if (const char* envValue = ::getenv("ROOTSYS")) {
if (const char* envValue = std::getenv("ROOTSYS")) {
rootsys = envValue;
// We cannot use gSystem->UnixPathName.
ConvertToUnixPath(rootsys);
Expand Down
Loading