Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2007-09-13 12:01:08


Boris Gubenko wrote:
> The fix for gcc on HP-UX in revision 39130 of
> filesystem/src/operations.cpp disappeared in revision 39130
> of the module. As a result, filesystem library stopped to
> compile on this platform again.
>
> Attached the patch. Ok to commit?

Yes.

Thanks,

--Beman

>
> Thanks,
> Boris
>
>
> Index: src/operations.cpp
> ===================================================================
> --- src/operations.cpp (revision 39233)
> +++ src/operations.cpp (working copy)
> @@ -1279,7 +1279,7 @@
> && defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
> && defined(_SC_THREAD_SAFE_FUNCTIONS) \
> && (_POSIX_THREAD_SAFE_FUNCTIONS+0 >= 0) \
> - && (!defined(__HP_aCC) || (defined(__HP_aCC) && defined(_REENTRANT)))
> + && (!defined(__hpux) || (defined(__hpux) && defined(_REENTRANT)))
> if ( ::sysconf( _SC_THREAD_SAFE_FUNCTIONS ) >= 0 )
> { return ::readdir_r( dirp, entry, result ); }
> # endif
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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