Peter Johnson <[EMAIL PROTECTED]> wrote: > That's an improvement, using 3.5.3. I have to define __DARWIN__ > instead of __MACOS__ now, but at it least compiles without modifying > any sources. > > (I wonder why the config stuff does set __DARWIN__) > > I still question whether or not I'm getting a thread safe build > though. If I define __DARWIN__, that prevents it from setting > _XOPEN_SOURCE, which the comments say are "Needed to enable pthread > recursive mutexes" >
The comment probably should read: "Needed to enable pthread recursive mutexes *on Linux*". The _XOPEN_SOURCE define is needed to fix compile-time problems. If you didn't get a compile-time error, it is probably working. Please also note that "thread safe" is an oxymoron. :-) -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------