aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/i386aix.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-27 23:27:46 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-27 23:27:46 +0000
commit69bdf1a5dabad362020844b56c2985875736295d (patch)
tree1fb3fe9cbe8b9194e8fab587f1e10fe4076957e9 /bfd/hosts/i386aix.h
parent8737c2f4e51bab64cecd0b5de47cb7b39bc209ea (diff)
downloadgdb-69bdf1a5dabad362020844b56c2985875736295d.zip
gdb-69bdf1a5dabad362020844b56c2985875736295d.tar.gz
gdb-69bdf1a5dabad362020844b56c2985875736295d.tar.bz2
* archive.c: Define offsetof here.
* hosts/*.h: Don't define it here.
Diffstat (limited to 'bfd/hosts/i386aix.h')
-rw-r--r--bfd/hosts/i386aix.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/hosts/i386aix.h b/bfd/hosts/i386aix.h
index c09968a..871714f 100644
--- a/bfd/hosts/i386aix.h
+++ b/bfd/hosts/i386aix.h
@@ -46,8 +46,3 @@ extern int fputc();
extern int unlink();
#include "fopen-same.h"
-
-/* 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