Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-06-21 15:28:18


"Toon Knapen" <toon.knapen_at_[hidden]> wrote in message
news:42B80444.3050609_at_fft.be...
>...
> So it's clear that the current testing of _POSIX_THREAD_SAFE_FUNCTIONS,
> _SC_THREAD_SAFE_FUNCTIONS and _POSIX_THREAD_SAFE_FUNCTIONS does not
> suffice. Thus I still think it's best to expand the #if test to:
>
> # if defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
> && defined(_SC_THREAD_SAFE_FUNCTIONS) \
> && (_POSIX_THREAD_SAFE_FUNCTIONS+0 >= 0) \
> && ( !defined(__HP_aCC) \
> || ( (defined(__HP_aCC) && defined(_REENTRANT) )
>
>
> to make sure that, in case we're compiling with HP-aCC, we also check
> that the token _REENTRANT is defined.

Toon, go ahead and commit the above if it tests OK. But do test it first; I
think it needs two additional closing )'s.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk