aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-stratus.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-stratus.h')
-rw-r--r--gdb/xm-stratus.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gdb/xm-stratus.h b/gdb/xm-stratus.h
index 9ee795a..11313b6 100644
--- a/gdb/xm-stratus.h
+++ b/gdb/xm-stratus.h
@@ -1,6 +1,6 @@
/* Macro definitions for GDB hosted on a Stratus machine.
- Copyright (C) 1992, Free Software Foundation, Inc.
- Contributed by Peggy Fieland (pfieland@stratus.com)
+ Copyright 1992 Free Software Foundation, Inc.
+ Contributed by Peggy Fieland (pfieland@stratus.com).
This file is part of GDB.
@@ -25,5 +25,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Pick up more stuff from the generic SVR4 host include file. */
#include "xm-svr4.h"
-#define NOVOLVOID 1 /* compiler doesn't like volatile void declaration on functions*/
+
+/* The native compiler complains about using volatile to indicate functions
+ that never return. So shut it up by simply defining away "NORETURN", which
+ is normally defined to "volatile". */
+
+#ifndef __GNUC__
+# define NORETURN /**/
+#endif
+
#define NO_JOB_CONTROL