This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix compiler build on non-Unix98 systems


> I'm a bit concerned that SUS doesn't say that PTHREAD_MUTEX_RECURSIVE
> has to be a preprocessor macro (it might be an enum).  If there's a
> system with that property, we'll need to back this patch out and go
> for an autoconf test.

FreeBSD (5.3RC1) is affected.  Are you sure that an autoconf test is the way 
to go?  It's a target feature.  Should we create gthr-posix-norecurse.h or 
something like that, as a wrapper around gthr-posix.h using the appropriate 
preprocessor magic?  Or maybe should we just drop support for these old OSes?

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]