[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/m4/system_.h,v
From: |
Eric Blake |
Subject: |
Changes to m4/m4/system_.h,v |
Date: |
Sun, 25 Feb 2007 15:53:40 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/02/25 15:53:39
Index: m4/system_.h
===================================================================
RCS file: /sources/m4/m4/m4/system_.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- m4/system_.h 25 Oct 2006 12:45:45 -0000 1.18
+++ m4/system_.h 25 Feb 2007 15:53:39 -0000 1.19
@@ -1,5 +1,5 @@
/* GNU m4 -- A simple macro processor
- Copyright (C) 2000, 2001, 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2003, 2006, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -38,7 +38,6 @@
@INCLUDE_REGEX_H@
@INCLUDE_STDBOOL_H@
-#include <gnu/exit.h>
#include <gnu/xalloc.h>
#include <gnu/xstrndup.h>
@@ -50,6 +49,16 @@
(obstack_free (OBS, (char *)(OBJECT) + SIZE), \
(OBS)->object_base = (char *)(OBJECT))
+/* Some systems do not define EXIT_*, despite otherwise supporting
+ C89. This definition is copied from gnulib's stdlib_.h, since we
+ don't always install gnulib's stdlib.h. */
+#ifndef EXIT_SUCCESS
+# define EXIT_SUCCESS 0
+#endif
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
/* In addition to EXIT_SUCCESS and EXIT_FAILURE, m4 can fail with version
mismatch when trying to load a frozen file produced by a newer m4 than
the version doing the reload. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/m4/system_.h,v,
Eric Blake <=