diff options
Diffstat (limited to 'boost/iostreams/detail/config/fpos.hpp')
-rw-r--r-- | boost/iostreams/detail/config/fpos.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boost/iostreams/detail/config/fpos.hpp b/boost/iostreams/detail/config/fpos.hpp index d1ba7dddcb..e76cc30211 100644 --- a/boost/iostreams/detail/config/fpos.hpp +++ b/boost/iostreams/detail/config/fpos.hpp @@ -22,10 +22,22 @@ # pragma once #endif +#include <boost/config.hpp> + # if (defined(_YVALS) || defined(_CPPLIB_VER)) && !defined(__SGI_STL_PORT) && \ !defined(_STLPORT_VERSION) && !defined(__QNX__) /**/ + +#include <boost/iostreams/detail/ios.hpp> + # define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS + +#if !defined(_FPOSOFF) +#define BOOST_IOSTREAMS_FPOSOFF(fp) ((long long)(fp)) +#else +#define BOOST_IOSTREAMS_FPOSOFF(fp) _FPOSOFF(fp) +#endif + # endif #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_FPOS_HPP_INCLUDED |