[PATCH xserver 1/1] list: Use offsetof() to determine member offsets within a structure

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Sep 4 12:29:20 PDT 2012

On Sep 4, 2012, at 11:54, Keith Packard <keithp at keithp.com> wrote:

>> AC_C_TYPEOF seems like the best bet to me, but I'm not sure it's in
>> autoconf 2.60 (our current AC_PREREQ). All I've got here is 2.59 (which
>> does not appear to have AC_C_TYPEOF) and 2.64 (which does).
> Good news, AC_C_TYPEOF *is* in autoconf 2.60:
>        http://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
> That clears the way to using this macro without having to bump the
> version of autoconf we're using.
>> It looks like the autoconf AC_C_TYPEOF checks for both typeof and
>> __typeof__.
>> Alan -- I'm afraid we'll need to rely upon you to test this and make
>> sure it works for the Sun compilers...
> I think we're still waiting to see if Alan is happy with the patch
> before I merge it in and pack up 1.13 for release?

He ack'd it yesterday.

More information about the xorg-devel mailing list