summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-16 12:49:12 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-16 12:49:12 (GMT)
commit502430e39cb6c3c860baf90cd9a0c400503e16af (patch)
tree270ab5c0c5ab5b6c3f8cc2002c480a189040be24 /Source/kwsys
parent84672a84097444e1c280ec40d2a77f905cdb09cb (diff)
parentda4cddd787500b9da71e7c7877de9a17c6a7d1fc (diff)
downloadCMake-502430e39cb6c3c860baf90cd9a0c400503e16af.zip
CMake-502430e39cb6c3c860baf90cd9a0c400503e16af.tar.gz
CMake-502430e39cb6c3c860baf90cd9a0c400503e16af.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys')
-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 c834e34..fed1c9c 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -4408,7 +4408,7 @@ bool SystemTools::FileIsFullPath(const char* in_name, size_t len)
bool SystemTools::GetShortPath(const kwsys_stl::string& path, kwsys_stl::string& shortPath)
{
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32) && !defined(__CYGWIN__)
const int size = int(path.size()) +1; // size of return
char *tempPath = new char[size]; // create a buffer
DWORD ret;