summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2005-12-23 03:36:01 +0000
committerKaroly Lorentey <lorentey@elte.hu>2005-12-23 03:36:01 +0000
commit4beb2d71ea5cbd7f451b8958c3cd21b3cd4d6edc (patch)
treea0200612402340842dd1be3f836acbe0cfb3ee3d
parent7f227e762c4aeb06e1d8fd682cae2ef516fe1336 (diff)
downloademacs-4beb2d71ea5cbd7f451b8958c3cd21b3cd4d6edc.tar.gz
emacs-4beb2d71ea5cbd7f451b8958c3cd21b3cd4d6edc.tar.bz2
emacs-4beb2d71ea5cbd7f451b8958c3cd21b3cd4d6edc.zip
Fix compilation error during non-X builds.
* 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
-rw-r--r--src/keyboard.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index e22d44a88ed..edce75d774c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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. */