Subject: CVS commit: [netbsd-4] src/include
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 08/24/2006 12:30:28
Module Name:	src
Committed By:	tron
Date:		Thu Aug 24 12:30:28 UTC 2006

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

Log Message:
Pull up following revision(s) (requested by joerg in ticket #48):
	include/stddef.h: revision 1.13
gcc-3.3 does not have __offsetof__, but gcc-3.4 eems to require it:
From the redhat web page:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gcc/offsetof.html
__offsetof__ (expression)
    is equivalent to the parenthesized expression, except that the
    expression is considered an integral constant expression even if
    it contains certain operators that are not normally permitted in
    an integral constant expression. Users should never use __offsetof__
    directly; the only valid use of __offsetof__ is to implement the
    offsetof macro in <stddef.h>.


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

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