Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-06-24 20:45:14


Author: turkanis
Date: 2008-06-24 20:45:13 EDT (Tue, 24 Jun 2008)
New Revision: 46667
URL: http://svn.boost.org/trac/boost/changeset/46667

Log:
added macros for mmap and fstat
Text files modified:
   trunk/boost/iostreams/detail/config/rtl.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/iostreams/detail/config/rtl.hpp
==============================================================================
--- trunk/boost/iostreams/detail/config/rtl.hpp (original)
+++ trunk/boost/iostreams/detail/config/rtl.hpp 2008-06-24 20:45:13 EDT (Tue, 24 Jun 2008)
@@ -55,12 +55,16 @@
 
 # define BOOST_IOSTREAMS_FD_SEEK lseek64
 # define BOOST_IOSTREAMS_FD_TRUNCATE ftruncate64
+# define BOOST_IOSTREAMS_FD_MMAP mmap64
 # define BOOST_IOSTREAMS_FD_STAT stat64
+# define BOOST_IOSTREAMS_FD_FSTAT fstat64
 # define BOOST_IOSTREAMS_FD_OFFSET off64_t
 # else
 # define BOOST_IOSTREAMS_FD_SEEK lseek
 # define BOOST_IOSTREAMS_FD_TRUNCATE ftruncate
+# define BOOST_IOSTREAMS_FD_MMAP mmap
 # define BOOST_IOSTREAMS_FD_STAT stat
+# define BOOST_IOSTREAMS_FD_FSTAT fstat
 # define BOOST_IOSTREAMS_FD_OFFSET off_t
 # endif
 #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