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/stratus.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bfd/hosts/stratus.h') diff --git a/bfd/hosts/stratus.h b/bfd/hosts/stratus.h index 345480e..1f8df76 100644 --- a/bfd/hosts/stratus.h +++ b/bfd/hosts/stratus.h @@ -48,8 +48,3 @@ extern int fputc(); extern int unlink(); #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