summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/xm-vms.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-20 17:07:08 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-20 17:07:08 +0000
commit2f933b60e07833ed742a3a1fdff19a970c48d839 (patch)
tree6f448d61044a374686bb384a350d6267959a3dc4 /gcc/config/alpha/xm-vms.h
parent5c0586b999cdd53b364e263056a2deacba7ae2ab (diff)
downloadgcc-2f933b60e07833ed742a3a1fdff19a970c48d839.tar.gz
* config/alpha/xm-vms.h (_POSIX_EXIT): Define.
Remove unneeded exit related macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47219 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/xm-vms.h')
-rw-r--r--gcc/config/alpha/xm-vms.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/gcc/config/alpha/xm-vms.h b/gcc/config/alpha/xm-vms.h
index 225eb5d23e3..e5c380ac327 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"