From 23c6349cdd816e4cb0639ad397d8df6aee35cb27 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 18 Jul 1993 06:27:38 +0000 Subject: [PATCH] * 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. --- src/termhooks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/termhooks.h b/src/termhooks.h index 53d48f254e6..e3b6f08f6b1 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -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 { -- 2.39.5