Commit 23c6349c authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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.
parent 46f2fdac
...@@ -188,7 +188,7 @@ extern int (*read_socket_hook) (); ...@@ -188,7 +188,7 @@ extern int (*read_socket_hook) ();
/* Expedient hack: only provide the below definitions to files that /* Expedient hack: only provide the below definitions to files that
are prepared to handle lispy things. XINT is defined iff lisp.h are prepared to handle lispy things. XINT is defined iff lisp.h
has been included before this file. */ has been included before this file. */
#ifdef XINT #ifdef CONSP
enum event_kind enum event_kind
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment