[cmake-commits] king committed SystemTools.cxx 1.218 1.219
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Jan 12 09:52:52 EST 2008
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv18402
Modified Files:
SystemTools.cxx
Log Message:
COMP: Fix build on borland.
Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -d -r1.218 -r1.219
--- SystemTools.cxx 11 Jan 2008 13:33:48 -0000 1.218
+++ SystemTools.cxx 12 Jan 2008 14:52:50 -0000 1.219
@@ -3081,9 +3081,9 @@
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
More information about the Cmake-commits
mailing list