3

I found following code in library I'm trying to compile

#ifdef __GNU LesserC__
    __attribute__((packed))
#endif

and

#ifdef __GNU LesserG__
#pragma interface
#endif

What the hell is __GNU LesserC__? Why is there the space, #ifdef afaik doesn't support anything like this. I trying googling it but I only found source code using it, no explanation what it is (was) supposed to do.

Most patches I found fix it by

- #ifdef __GNU LesserC__
+ #ifdef __GNU_LesserC__

but I would like to know what this actually is.

Oh, and the library is xbase.

graywolf
  • 7,092
  • 7
  • 53
  • 77

0 Answers0