COMP: Fix build on borland.
This commit is contained in:
parent
330b7c3f63
commit
615ce67ad4
|
@ -3081,9 +3081,9 @@ void SystemTools::SplitPath(const char* p,
|
||||||
if(root.size() == 1)
|
if(root.size() == 1)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
if(const char* h = getenv("USERPROFILE"))
|
if(const char* p = getenv("USERPROFILE"))
|
||||||
{
|
{
|
||||||
homedir = h;
|
homedir = p;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue