changeset 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 ecd666ee0ea1
children 8c622de0d2ed
files src/atimer.h
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/atimer.h	Fri Sep 19 14:35:40 2003 +0000
+++ b/src/atimer.h	Fri Sep 19 14:36:22 2003 +0000
@@ -21,9 +21,13 @@
 #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.  */