Boost logo

Boost-Commit :

From: Boris.Gubenko_at_[hidden]
Date: 2007-09-05 13:14:32


Author: bgubenko
Date: 2007-09-05 13:14:29 EDT (Wed, 05 Sep 2007)
New Revision: 39130
URL: http://svn.boost.org/trac/boost/changeset/39130

Log:
missing conditionalization for g++ on HP-UX
Text files modified:
   trunk/libs/filesystem/src/operations.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/src/operations.cpp (original)
+++ trunk/libs/filesystem/src/operations.cpp 2007-09-05 13:14:29 EDT (Wed, 05 Sep 2007)
@@ -1215,7 +1215,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-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk