summaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
authorphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-12 17:07:03 +0000
committerphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-12 17:07:03 +0000
commite12ad0320d948229003756b007924ec51f93eb77 (patch)
tree1a717beae0227f632b4cb3b6671bb714610b3690 /gcc/ggc-simple.c
parent7664557d9c0c016b79f2791307021763c2e65ead (diff)
downloadgcc-e12ad0320d948229003756b007924ec51f93eb77.tar.gz
* ggc-simple.c (offsetof): Macro definition moved from here ...
* system.h (offsetof): ... to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33879 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r--gcc/ggc-simple.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index b7b6a660bea..e4fbddb53a3 100644
--- a/gcc/ggc-simple.c
+++ b/gcc/ggc-simple.c
@@ -28,10 +28,6 @@
#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. */