Hi,

I am working on patches that get the compiler to conditional include or 
exclude the OpenSolaris specific bit of code.
I have seen upstream code that used

#if defined(__sun__)
...
#endif

But that does not work for CBE when I build them.

I have to use

#if defined(sun)
...
#endif

So what is the right macros to use that work both down stream and upstream?
Where are they defined, any idea?

Thanks to avoid making my life a nested mess.

Thanks,

-Ghee



Reply via email to