Subject: CVS commit: src/include
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/21/2006 15:02:23
Module Name:	src
Committed By:	christos
Date:		Mon Aug 21 15:02:23 UTC 2006

Modified Files:
	src/include: stddef.h

Log Message:
g++-4 does not like &0->member, so we have to use the built-in offsetof().
g++-3 does not have a built-in offsetof(), but we cannot use the c version,
      otherwise we break with -Wold-style-cast.
Inspired by the DF version, but a bit different.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/include/stddef.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.