![]() | |||||||||||||
Messages in this thread |
Philippe Troin <phil@fifi.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2005-03-22 13:49 [from the cache] ©2003-2008 | |||||||||||||