2013/9/8 Juraj Lutter <[email protected]>:
> To make long story short:
>
> On Solaris, gcc and sunstudio(?) #defines "sun" and gcc defines also
> "__sun" so
>
> #if defined(sun) || defined(__sun)
> ...
> #endif
>
> will compile block on Solaris plarform.

It has been described in our porting FAQ:
http://wiki.opencsw.org/porting-faq#toc22

But this isn't what Riccardo asked. He wanted to detect whether we're
on e.g. Solaris 9 or Solaris 10.

Maciej
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to