git: <sys/signal.h>: Use __POSIX_VISIBLE, __XSI_VISIBLE and __BSD_VISIBLE.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Jan 6 18:39:03 PST 2015


commit 8461f85162cfc9b0f8f8fff2dbf5d7278f441765
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jan 7 03:34:37 2015 +0100

    <sys/signal.h>: Use __POSIX_VISIBLE, __XSI_VISIBLE and __BSD_VISIBLE.
    
    Similar to what I did in <signal.h> and <machine/signal.h> in
    d3240feb7df007 (replacing _POSIX_SOURCE and _ANSI_SOURCE checks).
    
    It also should fix build breakage in a few ports which was seen after
    d3240feb7df007.
    
    Most of this is based on FreeBSD's checks.
    
    Reported-by: marino

Summary of changes:
 sys/sys/signal.h | 87 +++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 67 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8461f85162cfc9b0f8f8fff2dbf5d7278f441765


-- 
DragonFly BSD source repository



More information about the Commits mailing list