# HG changeset patch # User Jim Blandy # Date 742976858 0 # Node ID 5c8de184cccf885410435cb703d20f0917b8f816 # Parent 6cdfdbe5058b5a1f5369c75844e7829fb455831f * 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. diff -r 6cdfdbe5058b -r 5c8de184cccf src/termhooks.h --- a/src/termhooks.h Sun Jul 18 06:27:15 1993 +0000 +++ b/src/termhooks.h Sun Jul 18 06:27:38 1993 +0000 @@ -188,7 +188,7 @@ /* 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 {