ゴミ箱
config.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_CORE_DETAIL_CONFIG_HPP
11 #define BOOST_BEAST_CORE_DETAIL_CONFIG_HPP
12 
13 #include <boost/config.hpp>
14 #include <boost/version.hpp>
15 
16 #if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000
17 # define BOOST_BEAST_FALLTHROUGH BOOST_FALLTHROUGH
18 #else
19 # define BOOST_BEAST_FALLTHROUGH __attribute__((fallthrough))
20 #endif
21 
22 #endif