mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
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 defined(_WIN32) && !defined(__CYGWIN__)
|
||||
if(const char* h = getenv("USERPROFILE"))
|
||||
if(const char* p = getenv("USERPROFILE"))
|
||||
{
|
||||
homedir = h;
|
||||
homedir = p;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user