On Thu, Mar 06, 2008 at 03:48:11PM -0500, James Carlson wrote: > 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?
In my perfect world, this code would also compile/run on S10u4+, as well as any OpenSolaris build. I just want to make sure something in current OpenSolaris doesn't disappear. > 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. That, plus Keith's answer, give me what I need to know. Thanks, Dan _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
