COMP: Fix build on borland.

This commit is contained in:
Brad King 2008-01-12 09:52:50 -05:00
parent 330b7c3f63
commit 615ce67ad4

View File

@ -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