Hi,

I want to use a variable which functions as a bit field. I read that I cannot use enum for that, but how do I define these in lite-c?

eg

enum status = { STAT_1 = 0x01, STAT_" = 0x04 , ...}

Thanks!


new project in early stage...

Intel Xeon X3450 2,66GHz | Mushkin 8 Gib | Zotac GTS250 + 7300LE | A8.3 com