Please excuse that I misplaced your mail. I think you asked why testing __SVR4 is required as well as __sun when detecting a Solaris OS at build time.
The reason is (or at least was) that some OS/Hardware/Compiler combinations define __sun when there is no Solaris OS present. I believe this is true for some Intel or GCC when NetBSD or Linux software builds on SPARC. Properly built precompilers will always find both __SVR4 and __sun when running on Solaris. If somebody has more details on this topic, then please offer them. Regards, Michael -- Michael Schloh von Bennewitz <[EMAIL PROTECTED]> Software Engineer Development, Spacenet AG Joseph-Dollinger-Bogen 14, D-80807 Muenchen
pgpPPG56SyFmY.pgp
Description: PGP signature