* src/keyboard.c (kbd_buffer_store_selection_event_hold):
* src/keyboard.h (kbd_buffer_store_selection_event_hold): Declare
and define only for (HAVE_X11 || HAVE_PGTK).
(cherry picked from commit
1ec0889e7b786d79351cee3ed4964d82295f059f)
maybe_quit_while_no_input (event->kind);
}
+#if defined HAVE_X11 || defined HAVE_PGTK
/* Store EVENT obtained at interrupt level into kbd_buffer, fifo.
This is like kbd_buffer_store_event_hold, but for struct
selection_input_event instead of struct input_event.
maybe_quit_while_no_input (event->kind);
}
+#endif /* HAVE_X11 || HAVE_PGTK */
/* Limit help event positions to this range, to avoid overflow problems. */
#define INPUT_EVENT_POS_MAX \
extern void kbd_buffer_store_event (struct input_event *);
extern void kbd_buffer_store_event_hold (struct input_event *,
struct input_event *);
+#if defined HAVE_X11 || defined HAVE_PGTK
extern void kbd_buffer_store_selection_event_hold (struct selection_input_event *,
struct input_event *);
+#endif
extern void poll_for_input_1 (void);
extern void show_help_echo (Lisp_Object, Lisp_Object, Lisp_Object,
Lisp_Object);