Roman Divacky e9b123be77 Define NULL to be __null in a case of gnu c++. This makes sentinel attribute
work ok in C++. Note that we enable this only for gcc 4.x for any value
of x. The __null was introduced in gcc 4.1 (in fact it was commited
12 days after release of gcc 4.0) and as we have never released any version
of FreeBSD with gcc 4.0 nor ports support gcc 4.0.x this is a safe check.

Using __GNUC_PREREQ__ would require us to include cdefs.h in params.h so
we just check __GNUC__.

Approved by:	kib (mentor)
Tested by:	exp build of ports (done by pav)
Tested by:	make universe (done by me)
2009-01-29 16:51:09 +00:00
..
2009-01-23 05:56:09 +00:00
2009-01-28 18:00:22 +00:00
2009-01-25 16:52:41 +00:00
2009-01-28 11:04:27 +00:00
2009-01-15 11:54:31 +00:00
2008-11-12 12:21:18 +00:00