(EXIT_FAILURE): Define if the system doesn't.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Mar 2003 07:31:50 +0000 (07:31 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Mar 2003 07:31:50 +0000 (07:31 +0000)
Reported by Bruce Becker; see:
http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html

lib/argmatch.c

index 4ff5a492ea75643d9ff453c7eb2fa386103b4bf9..398363252175c88c6f1bfcc92af751ba156b4115 100644 (file)
@@ -1,5 +1,7 @@
 /* argmatch.c -- find a match for a string in an array
-   Copyright (C) 1990, 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
+
+   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003 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
 # define ARGMATCH_QUOTING_STYLE locale_quoting_style
 #endif
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 /* Non failing version of argmatch call this function after failing. */
 #ifndef ARGMATCH_DIE
 # define ARGMATCH_DIE exit (EXIT_FAILURE)