Magnus Holmgren dixit: >What about OpenBSD?
OpenBSD only defines __OpenBSD__ in gcc, therefore you can use #if defined(__OpenBSD__) && !defined(__MirBSD__) to test (as MirBSD defines both __OpenBSD__ and __MirBSD__ in gcc and pcc). There’s also <sys/param.h> which has OpenBSD in OpenBSD but not in MirBSD, and MirBSD only in the latter. Note that MidnightBSD currently defines exactly the same things as FreeBSD (in gcc), but will _add_ a __MidnightBSD__ macro soo- nish (and already does that in pcc), but keep the FBSD ones too. You probably want to add … && !defined(__GLIBC__) to the test mentioned above then. //mirabilos -- Sometimes they [people] care too much: pretty printers [and syntax highligh- ting, d.A.] mechanically produce pretty output that accentuates irrelevant detail in the program, which is as sensible as putting all the prepositions in English text in bold font. -- Rob Pike in "Notes on Programming in C" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

