summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SystemTools.cxx2
-rw-r--r--Terminal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx
index cf04799..4d974a8 100644
--- a/SystemTools.cxx
+++ b/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;
diff --git a/Terminal.c b/Terminal.c
index 4d1b46c..9409d1b 100644
--- a/Terminal.c
+++ b/Terminal.c
@@ -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)