Mercurial > emacs
changeset 83419:b658f9b67fc5
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
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 23 Dec 2005 03:36:01 +0000 |
parents | 50fd371bed05 |
children | 521d3f18b3d1 |
files | src/keyboard.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Fri Dec 23 03:05:20 2005 +0000 +++ b/src/keyboard.c Fri Dec 23 03:36:01 2005 +0000 @@ -10661,7 +10661,11 @@ 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. */