mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
* termhooks.h: In order to avoid declaring struct input_event
(which contains Lisp_Objects) in those .c files which need access to the terminal hooks but don't #include lisp.h (like cm.c), test to see if the macro CONSP is #defined. We used to test XINT, but config.h will #define that everywhere on systems that use tailored tagging schemes.
This commit is contained in:
parent
46f2fdac02
commit
23c6349cdd
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ extern int (*read_socket_hook) ();
|
|||
/* Expedient hack: only provide the below definitions to files that
|
||||
are prepared to handle lispy things. XINT is defined iff lisp.h
|
||||
has been included before this file. */
|
||||
#ifdef XINT
|
||||
#ifdef CONSP
|
||||
|
||||
enum event_kind
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue