From 4beb2d71ea5cbd7f451b8958c3cd21b3cd4d6edc Mon Sep 17 00:00:00 2001 From: Karoly Lorentey Date: Fri, 23 Dec 2005 03:36:01 +0000 Subject: [PATCH] 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 --- src/keyboard.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. */