diff options
author | Brad King <brad.king@kitware.com> | 2021-03-30 14:45:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-30 14:45:01 (GMT) |
commit | 25ccb2c7c31dd44d53fdea3b3610efcdffc8634c (patch) | |
tree | f80750a2541379882a38ac449c0c2ad90e95c2ab /Source/kwsys/SystemTools.cxx | |
parent | d9b8acd238ea26477c5f599b323777eaaf63c000 (diff) | |
parent | d0b9ffb6304834915ae983ce44af1c92ec9cdd39 (diff) | |
download | CMake-25ccb2c7c31dd44d53fdea3b3610efcdffc8634c.zip CMake-25ccb2c7c31dd44d53fdea3b3610efcdffc8634c.tar.gz CMake-25ccb2c7c31dd44d53fdea3b3610efcdffc8634c.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
KWSys 2021-03-30 (db93a594)
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-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 cf04799..4d974a8 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -3926,7 +3926,7 @@ bool SystemTools::FileIsFullPath(const char* in_name) bool SystemToolsStatic::FileIsFullPath(const char* in_name, size_t len) { -#if defined(_WIN32) || defined(__CYGWIN__) +#if defined(_WIN32) && !defined(__CYGWIN__) // On Windows, the name must be at least two characters long. if (len < 2) { return false; |