summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-07-18 06:27:38 +0000
committerJim Blandy <jimb@redhat.com>1993-07-18 06:27:38 +0000
commitb23ccbf0c1f24102482dee774bf27802e5beb517 (patch)
tree30f1d9aa11d1c7c32bf05f7a3bb1e51eeab897de /src/termhooks.h
parent17b935cf5d6140f54a989ae6f51e64417cb59932 (diff)
downloademacs-b23ccbf0c1f24102482dee774bf27802e5beb517.tar.gz
* 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.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h2
1 files changed, 1 insertions, 1 deletions
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
{