From: Stu Grossman Date: Wed, 21 Oct 1992 07:15:39 +0000 (+0000) Subject: * xm-mips.h (offsetof): Don't define this if __STDC__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce5489d223efb14336a5b88cfb6e22f796ca2bf4;p=binutils-gdb.git * xm-mips.h (offsetof): Don't define this if __STDC__. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index be1ea1ee418..75824b592f8 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 030d472804b..2c2e5cd707e 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