git: Tweak cdefs.h (no functional change)

John Marino marino at crater.dragonflybsd.org
Sun Nov 15 02:52:31 PST 2015


commit 74ce0225b5cd668a74faabcbe5ad75839a991c52
Author: John Marino <draco at marino.st>
Date:   Sun Nov 15 11:49:21 2015 +0100

    Tweak cdefs.h (no functional change)
    
    This check was bothering me so I tighted it up.
    
    We should think about removing all these GNUC version checks for at
    least GCC 4.2.1 and below.  I suspect DF will not build with less
    than GCC 4.4 in any case, but certainly GCC 3 and below could never
    be used, so these definitions that depend on GCC 2, 3 will never
    fail thus they should be set uncondionally to clean this header up.

Summary of changes:
 sys/sys/cdefs.h | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74ce0225b5cd668a74faabcbe5ad75839a991c52


-- 
DragonFly BSD source repository



More information about the Commits mailing list