1 // (C) Copyright 2010 Daniel James
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.)
5 // See http://www.boost.org/libs/iostreams for documentation.
7 #ifndef BOOST_IOSTREAMS_DETAIL_UNREACHABLE_RETURN_HPP_INCLUDED
8 #define BOOST_IOSTREAMS_DETAIL_UNREACHABLE_RETURN_HPP_INCLUDED
14 #include <boost/config.hpp>
16 // If Boost.Exception has BOOST_ATTRIBUTE_NORETURN
17 #if defined(_MSC_VER) || defined(__GNUC__)
18 #define BOOST_IOSTREAMS_UNREACHABLE_RETURN(x) \
19 BOOST_UNREACHABLE_RETURN(x)
21 #define BOOST_IOSTREAMS_UNREACHABLE_RETURN(x) \