Use FATAL_EXIT_CODE instead of FAILURE_EXIT_CODE.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 May 1995 22:02:38 +0000 (18:02 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 May 1995 22:02:38 +0000 (18:02 -0400)
Include config.h #ifndef EMACS.

From-SVN: r9724

gcc/cpperror.c
gcc/cppmain.c

index a610e2f234abb0c011368e1001e1d7385f9ec228..ad918482d2a99b7ad70b8ca64fd035477b5ad79c 100644 (file)
@@ -25,6 +25,10 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 #include "cpplib.h"
 #include <stdio.h>
 
+#ifndef EMACS
+#include "config.h"
+#endif /* not EMACS */
+
 /* Print the file names and line numbers of the #include
    commands which led to the current file.  */
 
@@ -106,7 +110,7 @@ fatal (str, arg)
   fprintf (stderr, "%s: ", progname);
   fprintf (stderr, str, arg);
   fprintf (stderr, "\n");
-  exit (FAILURE_EXIT_CODE);
+  exit (FATAL_EXIT_CODE);
 }
 
 \f
@@ -119,6 +123,6 @@ cpp_pfatal_with_name (pfile, name)
 #ifdef VMS
   exit (vaxc$errno);
 #else
-  exit (FAILURE_EXIT_CODE);
+  exit (FATAL_EXIT_CODE);
 #endif
 }
index d78bf89f26948a109c5a8e0f2eeceb4b40d14287..386a0ece1a5f06edc2acb7eb2b681fd9a5c70442 100644 (file)
@@ -23,6 +23,10 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 #include "cpplib.h"
 #include <stdio.h>
 
+#ifndef EMACS
+#include "config.h"
+#endif /* not EMACS */
+
 extern char *getenv ();
 
 cpp_reader parse_in;
@@ -89,6 +93,6 @@ main (argc, argv)
   cpp_finish (&parse_in);
 
   if (parse_in.errors)
-    exit (FAILURE_EXIT_CODE);
+    exit (FATAL_EXIT_CODE);
   exit (SUCCESS_EXIT_CODE);
 }