"Maciej W. Rozycki" <[EMAIL PROTECTED]> writes:

> Besides, despite "sizeof(foo)" being a constant, you can't move a
> comparison against it to cpp.

You can, Autoconf allows you to "check for size of foo", which gives
you a SIZEOF_FOO preprocessor constant.  Then you can write things
like:

#if SIZEOF_FOO == 4
 /* Assume 32-bit foo */
#else
 /* Don't make that assumption */
#endif

Reply via email to