]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/iostreams/detail/config/fpos.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / iostreams / detail / config / fpos.hpp
1 /*
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.)
4 *
5 * See http://www.boost.org/libs/iostreams for documentation.
6
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
12 *
13 * Defines the preprocessor symbol BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for
14 * platforms that use the implementation of std::fpos from the Dinkumware
15 * Standard Library.
16 */
17
18 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
19 #define BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED
20
21 #if defined(_MSC_VER)
22 # pragma once
23 #endif
24
25 #include <boost/config.hpp>
26
27 # if (defined(_YVALS) || defined(_CPPLIB_VER)) && !defined(__SGI_STL_PORT) && \
28 !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU)
29 /**/
30
31 #include <boost/iostreams/detail/ios.hpp>
32
33 # define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS
34
35 #if !defined(_FPOSOFF)
36 #define BOOST_IOSTREAMS_FPOSOFF(fp) ((long long)(fp))
37 #else
38 #define BOOST_IOSTREAMS_FPOSOFF(fp) _FPOSOFF(fp)
39 #endif
40
41 # endif
42
43 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED