DragonFly-2.3.0.76.g1f605 master sys/sys _null.h

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 15 15:53:48 PST 2009


commit 1f605f7582e408c975cc2ba90fc89fcc0e1bf1a2
Author: Sascha Wildner <saw at online.de>
Date:   Sat Jan 31 08:15:04 2009 +0100

    _null.h: If g++ 4.1 or any later version is used, use __null for NULL.
    
    This change makes the sentinel attribute work correctly in C++.
    
    It's similar to a recent FreeBSD change:
    http://lists.freebsd.org/pipermail/svn-src-all/2009-January/004266.html
    
    We don't check __GNUG__ since it is __cplusplus && __GNUC__ and we check
    __cplusplus already.
    
    Approved-by: hasso

Summary of changes:
 sys/sys/_null.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f605f7582e408c975cc2ba90fc89fcc0e1bf1a2


-- 
DragonFly BSD source repository





More information about the Commits mailing list