Fix compilation error during non-X builds.
authorKaroly Lorentey <lorentey@elte.hu>
Fri, 23 Dec 2005 03:36:01 +0000 (03:36 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Fri, 23 Dec 2005 03:36:01 +0000 (03:36 +0000)
* src/keyboard.c (Fset_input_interrupt_mode): Fix compilation error
  during non-X builds.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-459

src/keyboard.c

index e22d44a..edce75d 100644 (file)
@@ -10661,7 +10661,11 @@ See also `current-input-mode'.  */)
   int new_interrupt_input;
 #ifdef SIGIO
 /* Note SIGIO has been undef'd if FIONREAD is missing.  */
-  if (x_display_list != NULL)
+  if (0
+#ifdef HAVE_X_WINDOWS
+      || x_display_list != NULL
+#endif
+      )
     {
       /* When using X, don't give the user a real choice,
         because we haven't implemented the mechanisms to support it.  */