aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/std-host.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/std-host.h')
-rw-r--r--bfd/hosts/std-host.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h
index 4e3d685..0a17229 100644
--- a/bfd/hosts/std-host.h
+++ b/bfd/hosts/std-host.h
@@ -89,19 +89,10 @@ extern int unlink();
#define BYTES_IN_PRINTF_INT 4
#endif
-/* From ANSI C <stddef.h>, which we can't depend upon the existence of */
-#ifndef offsetof
-#define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
-#endif
-
#include "fopen-same.h"
#define hosts_std_host_H
#endif
#ifdef STDC_HEADERS
#include <stddef.h>
-#else
-#ifndef offsetof
-#define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
-#endif
#endif /* STDC_HEADERS */