Dan McDonald writes: > My first guess would've been simply "sun", but that may be more *Solaris* and > less > *OpenSolaris*.
I was with you up to that point. Why is distinguishing between Solaris and OpenSolaris important? Do you _want_ to do that, or want to _avoid_ it? As far as I know, "__sun" is predefined in all compilation modes for Sun's 'cc' and is also predefined by gcc. Most open source packages use something like GNU's autoconf to create their own #defines for system variants, but I think you could use "__sun" without such a check if you wanted. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
