* xm-mips.h (offsetof): Don't define this if __STDC__.
This commit is contained in:
parent
3fcb902156
commit
ce5489d223
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue