mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
COMP: Fix build on borland.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user