mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* xm-mips.h (offsetof): Don't define this if __STDC__.
This commit is contained in:
parent
3fcb902156
commit
ce5489d223
@ -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).
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user