Explorar o código

KWSys 2015-06-15 (d217407c)

Extract upstream KWSys using the following shell commands.

$ git archive --prefix=upstream-kwsys/ d217407c | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 8533a79b..d217407c
Brad King (1):
      d217407c SystemTools: Fix preprocessor check WIN32 => _WIN32
KWSys Robot %!s(int64=10) %!d(string=hai) anos
pai
achega
da4cddd787
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SystemTools.cxx

+ 1 - 1
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;