diff options
author | Brad King <brad.king@kitware.com> | 2015-06-18 13:05:19 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-18 13:05:19 (GMT) |
commit | 9223c6cb12bba4444ea05d420e9eb562f861b242 (patch) | |
tree | 59cd869ab729cff2779ce3275a6d70a2e25fe927 /Source | |
parent | 940ea9ff4af0429396fc55d0f5643b848ff972af (diff) | |
parent | 502430e39cb6c3c860baf90cd9a0c400503e16af (diff) | |
download | CMake-9223c6cb12bba4444ea05d420e9eb562f861b242.zip CMake-9223c6cb12bba4444ea05d420e9eb562f861b242.tar.gz CMake-9223c6cb12bba4444ea05d420e9eb562f861b242.tar.bz2 |
Merge topic 'update-kwsys'
502430e3 Merge branch 'upstream-kwsys' into update-kwsys
da4cddd7 KWSys 2015-06-15 (d217407c)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
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; |