* system.h (offsetof): ... to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33879
138bc75d-0d04-0410-961f-
82ee72b054a4
+Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
+
+ * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
+ * system.h (offsetof): ... to here.
+
2000-05-12 Richard Henderson <rth@cygnus.com>
* Makefile.in (final.o): Depend on BASIC_BLOCK_H.
#include "ggc.h"
#include "timevar.h"
-#ifndef offsetof
-#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-#endif
-
/* Debugging flags. */
/* Zap memory before freeing to catch dangling pointers. */
#define NULL 0
#endif
+#ifndef offsetof
+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
+#endif
+
/* The compiler is not a multi-threaded application and therefore we
do not have to use the locking functions.