aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/xm-vms.h13
2 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 96e0126..9c82dc2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
+
+ * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
+ Remove unneeded exit related macros.
+
2001-11-20 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
diff --git a/gcc/config/alpha/xm-vms.h b/gcc/config/alpha/xm-vms.h
index 225eb5d..e5c380a 100644
--- a/gcc/config/alpha/xm-vms.h
+++ b/gcc/config/alpha/xm-vms.h
@@ -38,15 +38,6 @@ Boston, MA 02111-1307, USA. */
#define HOST_WIDE_INT long long
#define HOST_BITS_PER_WIDE_INT 64
-/* Override values in stdlib.h since gcc uses __posix_exit */
-#undef SUCCESS_EXIT_CODE
-#define SUCCESS_EXIT_CODE 0
-#undef FATAL_EXIT_CODE
-#define FATAL_EXIT_CODE 1
-#undef exit
-#define exit __posix_exit
-void __posix_exit (int);
-
/* A couple of conditionals for execution machine are controlled here. */
#ifndef VMS
#define VMS
@@ -65,6 +56,10 @@ void __posix_exit (int);
/* Define a local equivalent (sort of) for unlink */
#define unlink remove
+/* Causes exit() to be redefined to __posix_exit() and
+ Posix compatible failure and success codes to be used */
+#define _POSIX_EXIT 1
+
#define STDC_HEADERS 1
#define HOST_EXECUTABLE_SUFFIX ".exe"