git: Remove offsetof definitions from binutils* sysdep.h

John Marino marino at crater.dragonflybsd.org
Sun Nov 15 10:21:35 PST 2015


commit 0f03ac8903e58562e1456b0a8a03e15304e47cf8
Author: John Marino <draco at marino.st>
Date:   Sun Nov 15 17:23:21 2015 +0100

    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)

Summary of changes:
 contrib/binutils-2.24/bfd/sysdep.h | 6 ------
 contrib/binutils-2.25/bfd/sysdep.h | 6 ------
 2 files changed, 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f03ac8903e58562e1456b0a8a03e15304e47cf8


-- 
DragonFly BSD source repository


More information about the Commits mailing list