diff src/sysdep.c @ 157:6b37e6ddd302 r20-3b5

Import from CVS: tag r20-3b5
author cvs
date Mon, 13 Aug 2007 09:40:41 +0200
parents 43dd3413c7c7
children 0132846995bd
line wrap: on
line diff
--- a/src/sysdep.c	Mon Aug 13 09:39:46 2007 +0200
+++ b/src/sysdep.c	Mon Aug 13 09:40:41 2007 +0200
@@ -373,7 +373,7 @@
 	       Can you say "race condition"?
 	       
 	       I assume that the system calls sigpause() or sigsuspend()
-	       provide this atomicness.  If you're getting hangs in
+	       to provide this atomicness.  If you're getting hangs in
 	       sigpause()/sigsuspend(), then your OS doesn't
 	       implement this properly (this applies under hpux9,
 	       for example).  Try defining BROKEN_WAIT_FOR_SIGNAL. */
@@ -1324,6 +1324,8 @@
 
 /* It's wrong to encase these into #ifdef HAVE_TTY because we need
    them for child TTY processes.  */
+/* However, this does break NT support while we don't do child TTY processes */
+#ifndef WINDOWSNT
 
 /* Set *TC to the parameters associated with the terminal FD.
    Return zero if all's well, or -1 if we ran into an error we
@@ -1464,6 +1466,7 @@
   return 0;
 }
 
+#endif /* WINDOWSNT */
 
 /* ------------------------------------------------------ */
 /*                 Initializing a device                  */