]> git.eshelyaron.com Git - emacs.git/commitdiff
* termhooks.h: In order to avoid declaring struct input_event
authorJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:27:38 +0000 (06:27 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:27:38 +0000 (06:27 +0000)
(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

index 53d48f254e6c74fbb0cb4b249983e78d6cc1b3f1..e3b6f08f6b1e5bf8738785bf4c9bc83fcb352742 100644 (file)
@@ -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
 {