Re: [PATCH] linuxabi

From: Miles Bader
Date: Wed Oct 01 2003 - 00:52:06 EST


Philippe Troin <phil@xxxxxxxx> writes:
> A common uber-ugly trick (seen in Solaris headers) to solve this
> problem is:
>
> enum {
> #define FOO FOO
> FOO,

I always thought this trick was kind of cool, despite the slight
increase in ugliness for the enum definition.

-Miles
--
"Though they may have different meanings, the cries of 'Yeeeee-haw!' and
'Allahu akbar!' are, in spirit, not actually all that different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/