[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AC_CHECK_SIZEOF for members

From: Sam Steingold
Subject: AC_CHECK_SIZEOF for members
Date: Tue, 10 May 2005 09:49:25 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

How do I check for sizeof of struct members?

E.g., <utmpx.h> declares struct utmpx which has a member ut_tv which is
supposed to be just like struct timeval except that GLIBC 2.3.2 uses
32-bit slots for the utmpx->ut_tv even on 64-bit platforms, so
SIZEOF_STRUCT_TIMEVAL is useless here.

So, how do I find out

    struct utmpx u;

it appears that AC_CHECK_SIZEOF works only with types, not members.

Sam Steingold ( running w2k
<> <>
<> <>
Life is a sexually transmitted disease with 100% mortality.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]