aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-m88k.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-05-03 06:02:03 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-05-03 06:02:03 +0000
commit8aa13b877740406cde5ce6b4e4b6950bd8741ef6 (patch)
treebba64cf04366f64fb2aec4a59d9a4ad0fc32f848 /gdb/xm-m88k.h
parent6f48f7f198e458b3518cf0e7310b8edf744f546a (diff)
downloadgdb-8aa13b877740406cde5ce6b4e4b6950bd8741ef6.zip
gdb-8aa13b877740406cde5ce6b4e4b6950bd8741ef6.tar.gz
gdb-8aa13b877740406cde5ce6b4e4b6950bd8741ef6.tar.bz2
Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog.
Diffstat (limited to 'gdb/xm-m88k.h')
-rw-r--r--gdb/xm-m88k.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/xm-m88k.h b/gdb/xm-m88k.h
index 240459b..04e5d7a 100644
--- a/gdb/xm-m88k.h
+++ b/gdb/xm-m88k.h
@@ -22,7 +22,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HOST_BYTE_ORDER BIG_ENDIAN
-#define USG
+#if !defined (USG)
+#define USG 1
+#endif
/* DGUX has bcopy(), etc. */
#define USG_UTILS 0
@@ -37,7 +39,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define bcmp(left,right,count) (memcmp((right),(left),(count)))
#ifdef __GNUC__
#define memcpy __builtin_memcpy
-#define memset __builtin_memset
+/* gcc doesn't have this, at least not gcc 1.92. */
+/* #define memset __builtin_memset */
#define strcmp __builtin_strcmp
#endif