Mercurial > emacs
comparison src/atimer.h @ 52539:70b6f248b802
Don't include lisp.h.
(P_): Define it here (as well as elsewhere).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 19 Sep 2003 14:36:22 +0000 |
parents | 695cf19ef79e |
children | 5407da499273 |
comparison
equal
deleted
inserted
replaced
52538:ecd666ee0ea1 | 52539:70b6f248b802 |
---|---|
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | 20 |
21 #ifndef EMACS_ATIMER_H | 21 #ifndef EMACS_ATIMER_H |
22 #define EMACS_ATIMER_H | 22 #define EMACS_ATIMER_H |
23 | 23 |
24 /* Building alloca.o includes us, and we need lisp.h for the P_ macro | 24 /* Declare the prototype for a general external function. */ |
25 in that case. */ | 25 #if defined (PROTOTYPES) || defined (WINDOWSNT) |
26 #include "lisp.h" | 26 #define P_(proto) proto |
27 #else | |
28 #define P_(proto) () | |
29 #endif | |
30 | |
27 #include "systime.h" /* for EMACS_TIME */ | 31 #include "systime.h" /* for EMACS_TIME */ |
28 | 32 |
29 /* Forward declaration. */ | 33 /* Forward declaration. */ |
30 | 34 |
31 struct atimer; | 35 struct atimer; |