$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-04-04 06:47:53
John Maddock wrote:
>> The code in question is:
>>
>> #     if defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
>>       && defined(_SC_THREAD_SAFE_FUNCTIONS) \
>>       && _POSIX_THREAD_SAFE_FUNCTIONS >= 0
>>       if ( ::sysconf( _SC_THREAD_SAFE_FUNCTIONS ) >= 0 )
>>         { return ::readdir_r( dirp, entry, result ); }
>> #     endif
>>
>> Seems like _POSIX_THREAD_SAFE_FUNCTIONS but doesn't expand to anything.
> 
> 
> That's a common problem with the POSIX feature test macros, the 
> workaround is to use :
> 
> (_POSIX_THREAD_SAFE_FUNCTIONS+0 >= 0)
Fixed and commited. Thanks for the hint.
Markus