diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2005-06-03 03:50:42 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2005-06-03 03:50:42 +0000 |
commit | 31a119f3ede3e46847ca7849e70407c96e04d1f3 (patch) | |
tree | 56d842dca34faa3e40f969e13617dfdbb051d690 /contrib/gcc/ginclude | |
parent | 2554b2d12b64808f2da1a31320628c91ab16164a (diff) |
Stock files.
Notes
Notes:
svn path=/head/; revision=146906
Diffstat (limited to 'contrib/gcc/ginclude')
-rw-r--r-- | contrib/gcc/ginclude/stddef.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gcc/ginclude/stddef.h b/contrib/gcc/ginclude/stddef.h index 1bb3e90bc9b1..03bfbf986e2f 100644 --- a/contrib/gcc/ginclude/stddef.h +++ b/contrib/gcc/ginclude/stddef.h @@ -415,9 +415,9 @@ typedef __WINT_TYPE__ wint_t; #else /* The cast to "char &" below avoids problems with user-defined "operator &", which can appear in a POD type. */ -#define offsetof(TYPE, MEMBER) \ - (__offsetof__ (reinterpret_cast <size_t> \ - (&reinterpret_cast <char &> \ +#define offsetof(TYPE, MEMBER) \ + (__offsetof__ (reinterpret_cast <size_t> \ + (&reinterpret_cast <const volatile char &> \ (static_cast<TYPE *> (0)->MEMBER)))) #endif /* C++ */ #endif /* _STDDEF_H was defined this time */ |