Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72052 - trunk/boost/iostreams/detail/config
From: bdawes_at_[hidden]
Date: 2011-05-19 19:25:29


Author: bemandawes
Date: 2011-05-19 19:25:29 EDT (Thu, 19 May 2011)
New Revision: 72052
URL: http://svn.boost.org/trac/boost/changeset/72052

Log:
Fix __APPLE__ configuration problem that was causing Boost B-tree to fail on Mac OS X. (Thanks to Marshall for testing the fix.)
Text files modified:
   trunk/boost/iostreams/detail/config/rtl.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/iostreams/detail/config/rtl.hpp
==============================================================================
--- trunk/boost/iostreams/detail/config/rtl.hpp (original)
+++ trunk/boost/iostreams/detail/config/rtl.hpp 2011-05-19 19:25:29 EDT (Thu, 19 May 2011)
@@ -45,7 +45,7 @@
 # define BOOST_IOSTREAMS_FD_OFFSET long
 # endif
 #else // Non-windows
-# if defined(_LARGEFILE64_SOURCE) && \
+# if defined(_LARGEFILE64_SOURCE) && !defined(__APPLE__) && \
          (!defined(_FILE_OFFSET_BITS) || _FILE_OFFSET_BITS != 64) || \
      defined(_AIX) && !defined(_LARGE_FILES) || \
      defined(BOOST_IOSTREAMS_HAS_LARGE_FILE_EXTENSIONS)


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