On Tue, Oct 25, 2005 at 03:45:28PM -0700, Markus Mayer wrote:

> It took a while to figure out what the reason was and I just discovered
> that it is even a known issue and that a bug-fix has been proposed two
> and a half years ago (http://bugzilla.lyx.org/show_bug.cgi?id=992).

I don't think your patch is the best approach. Rather, we should do the

#ifdef SP
#undef SP
#endif

approach mentioned in the bug. That way, when nobody uses Solaris 9 or
earlier any more (it won't happen on S10), it's easy to remove the hack.

Alternatively, we could look at whether we really need to define
__EXTENSIONS__ on Solaris, which is how these defines become public,
though that looks more difficult to fix.

regards,
john

Reply via email to