Brian Silverman | 8867871 | 2018-08-04 23:56:48 -0700 | [diff] [blame^] | 1 | // (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . |
| 2 | // Use, modification and distribution is subject to the Boost Software |
| 3 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
| 4 | // http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // See http://www.boost.org for updates, documentation, and revision history. |
| 7 | #include <boost/config.hpp> |
| 8 | #ifdef BOOST_NO_STD_WSTREAMBUF |
| 9 | #error "wide char i/o not supported on this platform" |
| 10 | #else |
| 11 | #include <boost/archive/polymorphic_text_woarchive.hpp> |
| 12 | typedef boost::archive::polymorphic_text_woarchive test_oarchive; |
| 13 | typedef std::wofstream test_ostream; |
| 14 | #include <boost/archive/polymorphic_text_wiarchive.hpp> |
| 15 | typedef boost::archive::polymorphic_text_wiarchive test_iarchive; |
| 16 | typedef std::wifstream test_istream; |
| 17 | #define TEST_STREAM_FLAGS (std::ios_base::openmode)0 |
| 18 | #endif |