diff options
author | Brad King <brad.king@kitware.com> | 2008-01-12 14:52:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-12 14:52:50 (GMT) |
commit | 615ce67ad4062b7d8df5f5675fb3d85614d2cef6 (patch) | |
tree | ab74cfb52e807549937233284f613821b3f59ef6 /Source/kwsys/SystemTools.cxx | |
parent | 330b7c3f63917baf2eb3a11c2d3931d439b90ca1 (diff) | |
download | CMake-615ce67ad4062b7d8df5f5675fb3d85614d2cef6.zip CMake-615ce67ad4062b7d8df5f5675fb3d85614d2cef6.tar.gz CMake-615ce67ad4062b7d8df5f5675fb3d85614d2cef6.tar.bz2 |
COMP: Fix build on borland.
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index dbcf230..5c81ae4 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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 |