* xm-mips.h (offsetof): Don't define this if __STDC__.

This commit is contained in:
Stu Grossman 1992-10-21 07:15:39 +00:00
parent 3fcb902156
commit ce5489d223
2 changed files with 5 additions and 1 deletions

View File

@ -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).

View File

@ -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