[predef] macro to detect OS version on Solaris

I looked at the predef documentation and see BOOST_OS_SOLARIS macro to detect the Solaris OS. Is there a way I can detect the Solaris version? Thanks, Aparna | | http://www.boost.org/doc/libs/1_61_0/libs/predef/doc/html/predef/reference/b...

On Tue, Aug 23, 2016 at 7:05 PM, Aparna Kumta
I looked at the predef documentation and see BOOST_OS_SOLARIS macro to detect the Solaris OS. Is there a way I can detect the Solaris version?
There's nothing in there for determining the version of Solaris. But I could add it to use the __Solaris_x_y defs. But that's only for Sun Studio right? Is there some other macro that defines the version? -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
participants (3)
-
Aparna Kumta
-
Bjorn Reese
-
Rene Rivera