git: <sys/cdefs.h>: Ensure that __{BSD, EXT1}_VISIBLE are never undefined.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Dec 7 04:09:13 PST 2019


commit 3473d236e6d497880982efb5dbcc46318448e69b
Author: Sascha Wildner <saw at online.de>
Date:   Sat Dec 7 12:28:25 2019 +0100

    <sys/cdefs.h>: Ensure that __{BSD,EXT1}_VISIBLE are never undefined.
    
    This is to fix -Wundef warnings that might occur if the environment is
    restricted to POSIX or X/Open.
    
    Thanks to zrj for testing with a dports bulk build.

Summary of changes:
 sys/sys/cdefs.h | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3473d236e6d497880982efb5dbcc46318448e69b


-- 
DragonFly BSD source repository


More information about the Commits mailing list