Drop support for Cygwin.
[oweals/tinc.git] / src / net_setup.c
index 7d88c326bbb8a43c9839e39e959c45102445a3b2..7b4c741f0fe55ce1bd5daefcf39e2d990fa8867e 100644 (file)
@@ -222,7 +222,7 @@ static bool read_ecdsa_private_key(void) {
                return false;
        }
 
-#if !defined(HAVE_MINGW) && !defined(HAVE_CYGWIN)
+#ifndef HAVE_MINGW
        struct stat s;
 
        if(fstat(fileno(fp), &s)) {
@@ -314,7 +314,7 @@ static bool read_rsa_private_key(void) {
                return false;
        }
 
-#if !defined(HAVE_MINGW) && !defined(HAVE_CYGWIN)
+#ifndef HAVE_MINGW
        struct stat s;
 
        if(fstat(fileno(fp), &s)) {