|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52538 - branches/release/libs/filesystem/src
From: bdawes_at_[hidden]
Date: 2009-04-22 09:23:24
Author: bemandawes
Date: 2009-04-22 09:23:23 EDT (Wed, 22 Apr 2009)
New Revision: 52538
URL: http://svn.boost.org/trac/boost/changeset/52538
Log:
Merge Sun compiler on Linux fix [52420] from trunk
Text files modified:
branches/release/libs/filesystem/src/operations.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: branches/release/libs/filesystem/src/operations.cpp
==============================================================================
--- branches/release/libs/filesystem/src/operations.cpp (original)
+++ branches/release/libs/filesystem/src/operations.cpp 2009-04-22 09:23:23 EDT (Wed, 22 Apr 2009)
@@ -90,7 +90,8 @@
//
// TODO: find out what macros indicate dirent::d_type present in more libraries
# if defined(BOOST_WINDOWS_API) \
- || defined(_DIRENT_HAVE_D_TYPE) // defined by GNU C library if d_type present
+ || (defined(_DIRENT_HAVE_D_TYPE) /* defined by GNU C library if d_type present */ \
+ && !(defined(__SUNPRO_CC) && !defined(__sun))) // _DIRENT_HAVE_D_TYPE wrong for Sun compiler on Linux
# define BOOST_FILESYSTEM_STATUS_CACHE
# 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