Boost logo

Boost :

Subject: [boost] [iostreams] OK to patch Mac OS X config problem?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-05-18 22:39:35


The following path fixes a problem that causes a B-tree compile
failure on Mac OS X.

Does anyone know any reason not to apply this?

--Beman

PS: Thanks to Marshall Clow for testing this.

--- C:\Users\Beman\AppData\Local\Temp\rtl.hpp-revBASE.svn000.tmp.hpp 2011-05-18
22:23:07.000000000 -0400
+++ C:\boost\trunk\boost\iostreams\detail\config\rtl.hpp 2011-05-18
22:21:21.000000000 -0400
@@ -42,13 +42,13 @@
 # define BOOST_IOSTREAMS_FD_OFFSET __int64
 # else // Borland, Metrowerks, ...
 # define BOOST_IOSTREAMS_FD_SEEK lseek
 # 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)
      /**/

     /* Systems with transitional extensions for large file support */


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