diff options
| author | Jim Blandy | 1993-07-18 06:27:38 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-18 06:27:38 +0000 |
| commit | 23c6349cdd816e4cb0639ad397d8df6aee35cb27 (patch) | |
| tree | ad9cda9715b2b50b87ade0a9302ce78cf604391d /src | |
| parent | 46f2fdac02f40712c3405fa5de4aa5a14412384d (diff) | |
| download | emacs-23c6349cdd816e4cb0639ad397d8df6aee35cb27.tar.gz emacs-23c6349cdd816e4cb0639ad397d8df6aee35cb27.zip | |
* 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')
| -rw-r--r-- | src/termhooks.h | 2 |
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) (); | |||
| 188 | /* Expedient hack: only provide the below definitions to files that | 188 | /* Expedient hack: only provide the below definitions to files that |
| 189 | are prepared to handle lispy things. XINT is defined iff lisp.h | 189 | are prepared to handle lispy things. XINT is defined iff lisp.h |
| 190 | has been included before this file. */ | 190 | has been included before this file. */ |
| 191 | #ifdef XINT | 191 | #ifdef CONSP |
| 192 | 192 | ||
| 193 | enum event_kind | 193 | enum event_kind |
| 194 | { | 194 | { |