Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-06-22 05:09:52


Beman Dawes wrote:

>>...
>>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.

Done, tested if it compiles fine on gcc and aCC.

> But do test it first; I
> think it needs two additional closing )'s.

Partially right, I indeed forgot 1 closing ')'


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