* 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)
|
Tue Oct 20 21:32:18 1992 K. Richard Pixley (rich@sendai.cygnus.com)
|
||||||
|
|
||||||
umax native support (untested).
|
umax native support (untested).
|
||||||
|
|
|
@ -43,7 +43,7 @@ extern void *memcpy();
|
||||||
extern void *memset();
|
extern void *memset();
|
||||||
#define MEM_FNS_DECLARED
|
#define MEM_FNS_DECLARED
|
||||||
|
|
||||||
#if !defined (offsetof)
|
#if ! defined (__STDC__) && ! defined (offsetof)
|
||||||
# define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
|
# define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue