Fix buildworld with WANT_GCC40 defined. In gcc-4.0, __offsetof__ macro
commitbeb3fa98de7d2a3993071c15b212859e1f2ac3ba
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Mon, 2 Jan 2006 06:02:01 +0000 (2 06:02 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Mon, 2 Jan 2006 06:02:01 +0000 (2 06:02 +0000)
tree93e356bad1e3a6d563925de6e4574ca655679d37
parent4c1530c6527cc4e0bdb8288ee0d81ba17bfb5326
Fix buildworld with WANT_GCC40 defined. In gcc-4.0,  __offsetof__ macro
has been replaced with __builtin_offsetof macro, which also does
the complex type-casting stuff needed by the version using __offsetof__.
sys/cpu/i386/include/stdint.h
sys/i386/include/stdint.h