diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 9dc7e9809..f445c8ee5 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1647,7 +1647,7 @@ SystemTools::GetFilenameWithoutLastExtension(const kwsys_stl::string& filename) bool SystemTools::FileIsFullPath(const char* in_name) { kwsys_stl::string name = in_name; -#if defined(_WIN32) +#if defined(_WIN32) || defined(__CYGWIN__) // On Windows, the name must be at least two characters long. if(name.length() < 2) {