diff src/event-stream.c @ 394:7d59cb494b73 r21-2-12

Import from CVS: tag r21-2-12
author cvs
date Mon, 13 Aug 2007 11:11:37 +0200
parents 1f50e6fe4f3f
children 74fd4e045ea6
line wrap: on
line diff
--- a/src/event-stream.c	Mon Aug 13 11:10:52 2007 +0200
+++ b/src/event-stream.c	Mon Aug 13 11:11:37 2007 +0200
@@ -5389,8 +5389,9 @@
 	  {
 	    /* For TTY's, use the Xt event loop if we can; it allows
 	       us to later open an X connection. */
-#if defined (HAVE_MS_WINDOWS) && defined (HAVE_MSG_SELECT) \
-	    && !defined (DEBUG_TTY_EVENT_STREAM)
+#if defined (HAVE_MS_WINDOWS) && (!defined (HAVE_TTY) \
+                || (defined (HAVE_MSG_SELECT) \
+	    && !defined (DEBUG_TTY_EVENT_STREAM)))
 	    init_event_mswindows_late ();
 #elif defined (HAVE_X_WINDOWS) && !defined (DEBUG_TTY_EVENT_STREAM)
 	    init_event_Xt_late ();