summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-14 13:13:23 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-14 13:13:23 (GMT)
commitd2a3ccd50533a1ce5bbb081a6fe727ed184cdeb1 (patch)
tree63ad5b83e9f65bc99e210e8cdd25db96fec604b6 /Source/kwsys/SystemTools.cxx
parentfc49142fc634ae3b55feb744730251275d271dfc (diff)
downloadCMake-d2a3ccd50533a1ce5bbb081a6fe727ed184cdeb1.zip
CMake-d2a3ccd50533a1ce5bbb081a6fe727ed184cdeb1.tar.gz
CMake-d2a3ccd50533a1ce5bbb081a6fe727ed184cdeb1.tar.bz2
ENH: Add support for multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings and doubles
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index b98d6ff..e4efe39 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -3157,7 +3157,7 @@ bool SystemTools::LocateFileInDir(const char *filename,
{
filename_dir = SystemTools::GetFilenamePath(filename_dir);
filename_dir_base = SystemTools::GetFilenameName(filename_dir);
-#if _WIN32
+#if defined( _WIN32 )
if (!filename_dir_base.size() ||
filename_dir_base[filename_dir_base.size() - 1] == ':')
#else