I see an LL_DARWIN, is there one for specific releases?
I am adding specific to intel OSX things, and want to have them only
be in Intel builds, for example Leopard and Snow Leopard are Intel
only. Second there are places where there are checks for old (pre
10.4). I'd like to know if there are tokens for this, so that I can do
things like this
#ifdef LL_DARWIN_10_3
#define LOCALE_BROKEN
#endif
char LLResMgr::getThousandsSeparator() const
{
char separator =
#if LL_LOCALE_BROKEN
// On the Mac, locale support is broken before 10.4, which causes
things to go all pear-shaped.
if(separator == 0)
{
return ',';
}
#endif
return localeconv()->thousands_sep[0];
}
This way old checking code will not be inflicted on people unless needed.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges