This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: fix PTHREAD_ONCE_INIT when using -ansi
> I would still recommend doing it as I suggested,
> [...]
> Otherwise, I'm okay with it. Cheers - Bruce
Okay I installed it with your style. I also added a comment to
explain that the pattern will handle 2.5.1 while at the same time
reject 2.10 as we want.
/*
* On Solaris 10, this fix is unnecessary because upad64_t is
* always defined correctly regardless of the definition of the
* __STDC__ macro. The first "match" pattern matches up to
* solaris9. The second "mach" pattern will not match any two (or
* more) digit solaris version, but it will match e.g. 2.5.1.
*/
mach = '*-*-solaris2.[0-9]', '*-*-solaris2.[0-9][!0-9]*';
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu