]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/iostreams/detail/config/fpos.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / iostreams / detail / config / fpos.hpp
CommitLineData
7c673cae 1/*
92f5a8d4 2 * Distributed under the Boost Software License, Version 1.0.(See accompanying
7c673cae 3 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
92f5a8d4 4 *
7c673cae
FG
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
92f5a8d4 14 * platforms that use the implementation of std::fpos from the Dinkumware
7c673cae
FG
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) && \
92f5a8d4 28 !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) \
20effc67
TL
29 && !((defined(BOOST_MSVC) || defined(BOOST_CLANG)) && _MSVC_STL_VERSION >= 141) \
30 && !defined(_LIBCPP_VERSION)
7c673cae 31 /**/
92f5a8d4 32
7c673cae
FG
33#include <boost/iostreams/detail/ios.hpp>
34
35# define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS
36
37#if !defined(_FPOSOFF)
38#define BOOST_IOSTREAMS_FPOSOFF(fp) ((long long)(fp))
39#else
40#define BOOST_IOSTREAMS_FPOSOFF(fp) _FPOSOFF(fp)
41#endif
42
43# endif
44
45#endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED