changeset 4143:5c8de184cccf

* 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.
author Jim Blandy <jimb@redhat.com>
date Sun, 18 Jul 1993 06:27:38 +0000
parents 6cdfdbe5058b
children 8f5545cf9774
files src/termhooks.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 {