Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-01-06 18:14:11


Author: turkanis
Date: 2008-01-06 18:14:11 EST (Sun, 06 Jan 2008)
New Revision: 42554
URL: http://svn.boost.org/trac/boost/changeset/42554

Log:
attempted a configuration for __IBMCPP__
Text files modified:
   branches/iostreams_dev/boost/iostreams/detail/config/rtl.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/iostreams_dev/boost/iostreams/detail/config/rtl.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/detail/config/rtl.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/detail/config/rtl.hpp 2008-01-06 18:14:11 EST (Sun, 06 Jan 2008)
@@ -48,9 +48,10 @@
 #else // Non-windows
 # if defined(_LARGEFILE64_SOURCE) && \
          (!defined(_FILE_OFFSET_BITS) || _FILE_OFFSET_BITS != 64) || \
- defined(BOOST_IOSTREAMS_HAS_LSEEK64) \
+ defined(__IBMCPP__) && !defined(__64BIT__) && !defined(_LARGE_FILE) || \
+ defined(BOOST_IOSTREAMS_HAS_LSEEK64)
      /**/
-# define BOOST_IOSTREAMS_FD_SEEK lseek64 // GCC for some 32-bit *nix
+# define BOOST_IOSTREAMS_FD_SEEK lseek64 // Some GCC and IBM
 # define BOOST_IOSTREAMS_FD_TRUNCATE ftruncate64
 # define BOOST_IOSTREAMS_FD_STAT stat64
 # define BOOST_IOSTREAMS_FD_OFFSET off64_t


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