diff options
author | Stu Grossman <grossman@cygnus> | 1992-10-21 07:15:39 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-10-21 07:15:39 +0000 |
commit | ce5489d223efb14336a5b88cfb6e22f796ca2bf4 (patch) | |
tree | 417a8f44300f18cd464ac6838b912ef29fd376c3 | |
parent | 3fcb9021565be2a31fddd72721517050f392632c (diff) | |
download | gdb-ce5489d223efb14336a5b88cfb6e22f796ca2bf4.zip gdb-ce5489d223efb14336a5b88cfb6e22f796ca2bf4.tar.gz gdb-ce5489d223efb14336a5b88cfb6e22f796ca2bf4.tar.bz2 |
* xm-mips.h (offsetof): Don't define this if __STDC__.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/xm-mips.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index be1ea1e..75824b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 21 00:14:34 1992 Stu Grossman (grossman at cygnus.com) + + * xm-mips.h (offsetof): Don't define this if __STDC__. + Tue Oct 20 21:32:18 1992 K. Richard Pixley (rich@sendai.cygnus.com) umax native support (untested). diff --git a/gdb/xm-mips.h b/gdb/xm-mips.h index 030d472..2c2e5cd 100644 --- a/gdb/xm-mips.h +++ b/gdb/xm-mips.h @@ -43,7 +43,7 @@ extern void *memcpy(); extern void *memset(); #define MEM_FNS_DECLARED -#if !defined (offsetof) +#if ! defined (__STDC__) && ! defined (offsetof) # define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) #endif |