]> andersk Git - openssh.git/blobdiff - scp.c
- (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>
[openssh.git] / scp.c
diff --git a/scp.c b/scp.c
index 401e400d486ab4b6bc9e7a1bdd9cfeb0a41f97f2..f8f123af4f8b24fc1a65b04aa501c3b1ad432aa8 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -1111,11 +1111,7 @@ foregroundproc()
        if (pgrp == -1)
                pgrp = getpgrp();
 
-#ifdef HAVE_CYGWIN
-       /*
-        * Cygwin only supports tcgetpgrp() for getting the controlling tty
-         * currently.
-        */
+#ifdef HAVE_TCGETPGRP
        return ((ctty_pgrp = tcgetpgrp(STDOUT_FILENO)) != -1 &&
                ctty_pgrp == pgrp);
 #else
This page took 0.03295 seconds and 4 git commands to generate.