DragonFly commits List (threaded) for 2009-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.0.76.g1f605 master sys/sys _null.h
commit 1f605f7582e408c975cc2ba90fc89fcc0e1bf1a2
Author: Sascha Wildner <saw@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]