« Previous | Next » 

Revision 1f605f75

ID1f605f7582e408c975cc2ba90fc89fcc0e1bf1a2

Added by swildner almost 6 years ago

_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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Review assignments Add