From 82377c38bb108e6edbb2e5db95060deb7c15d28c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 19 Sep 2003 14:36:22 +0000 Subject: [PATCH] Don't include lisp.h. (P_): Define it here (as well as elsewhere). --- src/atimer.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/atimer.h b/src/atimer.h index f7074f383db..3ecc97e5511 100644 --- a/src/atimer.h +++ b/src/atimer.h @@ -21,9 +21,13 @@ Boston, MA 02111-1307, USA. */ #ifndef EMACS_ATIMER_H #define EMACS_ATIMER_H -/* Building alloca.o includes us, and we need lisp.h for the P_ macro - in that case. */ -#include "lisp.h" +/* Declare the prototype for a general external function. */ +#if defined (PROTOTYPES) || defined (WINDOWSNT) +#define P_(proto) proto +#else +#define P_(proto) () +#endif + #include "systime.h" /* for EMACS_TIME */ /* Forward declaration. */ -- 2.39.2