> I believe we should avoid #ifdef linux whereever possible, because on
> the one hand even different versions of the Linux kernel or different
> distributions may behave differently (in general), and on the other hand
> it makes the code less portable and reduces the incentive to improve
> portability -- something which Ulrich, Patrik and myself (to a much
> lesser degree) and probably others have been working on.
>
> The Right Thing[TM], is to add autoconf and #ifdef feature checks in
> the code, that's what we do -- rather successfully -- with GCC, which
> is probably one of the largest non-trivial portable programs available.
OK, sorry for suggesting the evil #ifdef linux, its just that
I had seen it somewhere once in the WINE source tree. I'll have a look
at adding another check in autoconf, and hopefully have a patch ready
sometime today or (more likely) tommorow, depending on my schedule.
Of course, if someone out there beats me to it and submits a patch,
I won't complain. ^_^
-James