Remove offsetof definitions from binutils* sysdep.h
authorJohn Marino <draco@marino.st>
Sun, 15 Nov 2015 16:23:21 +0000 (17:23 +0100)
committerJohn Marino <draco@marino.st>
Sun, 15 Nov 2015 18:21:10 +0000 (19:21 +0100)
commit0f03ac8903e58562e1456b0a8a03e15304e47cf8
tree66b496ed9a7247e377e0721dbd5319be5c3b81d7
parentfa555ecf8992c5256353c88a081715e66ba69d4e
Remove offsetof definitions from binutils* sysdep.h

There's a guard to prevent redefinition of offsetof.  The problem is that
the <sys/cdefs.h> definition comes in just after, so it's still redefined.
Just remove the definition from sysdep.h and use the DF version (this
avoids a bunch of redefinition warnings during building)
contrib/binutils-2.24/bfd/sysdep.h
contrib/binutils-2.25/bfd/sysdep.h