2 * Distributed under the Boost Software License, Version 1.0.(See accompanying
3 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
5 * See http://www.boost.org/libs/iostreams for documentation.
7 * File: boost/iostreams/detail/execute.hpp
8 * Date: Thu Dec 06 13:21:54 MST 2007
9 * Copyright: 2007-2008 CodeRage, LLC
10 * Author: Jonathan Turkanis
11 * Contact: turkanis at coderage dot com
13 * Defines the preprocessor symbol BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for
14 * platforms that use the implementation of std::fpos from the Dinkumware
18 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
19 #define BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
25 #include <boost/config.hpp>
27 # if (defined(_YVALS) || defined(_CPPLIB_VER)) && !defined(__SGI_STL_PORT) && \
28 !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU)
31 #include <boost/iostreams/detail/ios.hpp>
33 # define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS
35 #if !defined(_FPOSOFF)
36 #define BOOST_IOSTREAMS_FPOSOFF(fp) ((long long)(fp))
38 #define BOOST_IOSTREAMS_FPOSOFF(fp) _FPOSOFF(fp)
43 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED