Subject: CVS commit: [netbsd-3] src/include
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 11/01/2006 18:07:35
Module Name:	src
Committed By:	tron
Date:		Wed Nov  1 18:07:35 UTC 2006

Modified Files:
	src/include [netbsd-3]: stddef.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.12
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.10.6.1 -r1.10.6.2 src/include/stddef.h

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