Merge topic 'update-kwsys'

25ccb2c7c3 Merge branch 'upstream-KWSys' into update-kwsys
d0b9ffb630 KWSys 2021-03-30 (db93a594)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5960
This commit is contained in:
Brad King
2021-03-31 13:27:53 +00:00
committed by Kitware Robot
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -10,7 +10,7 @@
#endif
/* Configure support for this platform. */
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32)
# define KWSYS_TERMINAL_SUPPORT_CONSOLE
#endif
#if !defined(_WIN32)