aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-i386v4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-i386v4.h')
-rw-r--r--gdb/xm-i386v4.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/xm-i386v4.h b/gdb/xm-i386v4.h
index 0b54b59..85d80c8 100644
--- a/gdb/xm-i386v4.h
+++ b/gdb/xm-i386v4.h
@@ -24,5 +24,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Pick up more stuff from the generic SVR4 host include file. */
-#include "xm-svr4.h"
+#include "xm-sysv4.h"
+/* The native AT&T compiler for i386/SVR4 complains about some of the
+ uses of volatile in the defs.h file. So shut it up by simply defining
+ volatile away. */
+
+#ifndef __GNUC__
+#define volatile /**/
+#endif