|
From: | Kevin Ryde |
Subject: | Re: CVS-060720 compilation failure on Solaris 10, patch |
Date: | Tue, 25 Jul 2006 10:42:30 +1000 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Claes Wallin <address@hidden> writes: > > +#ifdef __sun__ > +/* workaround for broken Solaris 10 headers */ > +#define SCM_I_PTHREAD_ONCE_INIT { PTHREAD_ONCE_INIT } > +#else /* !__sun__ */ > +#define SCM_I_PTHREAD_ONCE_INIT PTHREAD_ONCE_INIT > +#endif /* !__sun__ */ Grr. Contrary to what posix says I think :-(. http://www.opengroup.org/onlinepubs/000095399/functions/pthread_once.html I might make a configure test to see which style should be used, you'd imagine sun will fix their bugs eventually.
[Prev in Thread] | Current Thread | [Next in Thread] |