Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/iostreams/detail/config/fpos.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * Distributed under the Boost Software License, Version 1.0.(See accompanying
0003  * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
0004  *
0005  * See http://www.boost.org/libs/iostreams for documentation.
0006 
0007  * File:        boost/iostreams/detail/execute.hpp
0008  * Date:        Thu Dec 06 13:21:54 MST 2007
0009  * Copyright:   2007-2008 CodeRage, LLC
0010  * Author:      Jonathan Turkanis
0011  * Contact:     turkanis at coderage dot com
0012  *
0013  * Defines the preprocessor symbol BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for
0014  * platforms that use the implementation of std::fpos from the Dinkumware
0015  * Standard Library.
0016  */
0017 
0018 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
0019 #define BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
0020 
0021 #if defined(_MSC_VER)
0022 # pragma once
0023 #endif
0024 
0025 #include <boost/config.hpp>
0026 
0027 # if (defined(_YVALS) || defined(_CPPLIB_VER)) && !defined(__SGI_STL_PORT) && \
0028      !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) \
0029      && !((defined(BOOST_MSVC) || defined(BOOST_CLANG)) && _MSVC_STL_VERSION >= 141) \
0030      && !defined(_LIBCPP_VERSION)
0031      /**/
0032 
0033 #include <boost/iostreams/detail/ios.hpp>
0034 
0035 #  define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS
0036 
0037 #if !defined(_FPOSOFF)
0038 #define BOOST_IOSTREAMS_FPOSOFF(fp) ((long long)(fp))
0039 #else
0040 #define BOOST_IOSTREAMS_FPOSOFF(fp) _FPOSOFF(fp)
0041 #endif
0042 
0043 # endif
0044 
0045 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED