From 69bdf1a5dabad362020844b56c2985875736295d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 27 Sep 1993 23:27:46 +0000 Subject: * archive.c: Define offsetof here. * hosts/*.h: Don't define it here. --- bfd/hosts/i386v.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bfd/hosts/i386v.h') diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index 5954a94..ee7daeb 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -35,8 +35,3 @@ extern void free PARAMS ((PTR)); #endif #include "fopen-same.h" - -/* From ANSI C , which we can't depend upon the existence of */ -#ifndef offsetof -#define offsetof(type,memb) ((size_t)&(((type *)0)->memb)) -#endif -- cgit v1.1