Boost logo

Boost :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-09-13 09:13:23


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?

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


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