Files
boost_beast/include/boost/beast/config.hpp

49 lines
1.2 KiB
C++
Raw Normal View History

//
2017-07-24 09:42:36 -07:00
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
2017-07-20 13:40:34 -07:00
// Official repository: https://github.com/boostorg/beast
//
2017-07-20 13:40:34 -07:00
#ifndef BOOST_BEAST_CONFIG_HPP
#define BOOST_BEAST_CONFIG_HPP
2017-07-07 17:47:24 -07:00
// Available to every header
2017-07-28 08:36:46 -07:00
#include <boost/config.hpp>
2017-06-22 10:27:45 -07:00
#include <boost/core/ignore_unused.hpp>
2017-05-23 12:33:31 -07:00
#include <boost/static_assert.hpp>
/*
_MSC_VER and _MSC_FULL_VER by version:
2017-07-07 17:47:24 -07:00
14.0 (2015) 1900 190023026
14.0 (2015 Update 1) 1900 190023506
14.0 (2015 Update 2) 1900 190023918
14.0 (2015 Update 3) 1900 190024210
*/
2017-07-27 06:39:07 -07:00
#if defined(BOOST_MSVC)
# if BOOST_MSVC_FULL_VER < 190024210
2017-08-09 16:29:06 -07:00
# error Beast requires C++11: Visual Studio 2015 Update 3 or later needed
2017-07-27 06:39:07 -07:00
# endif
#elif defined(BOOST_GCC)
# if(BOOST_GCC < 40801)
2017-08-09 16:29:06 -07:00
# error Beast requires C++11: gcc version 4.8 or later needed
2017-07-27 06:39:07 -07:00
# endif
#else
# if \
defined(BOOST_NO_CXX11_DECLTYPE) || \
defined(BOOST_NO_CXX11_HDR_TUPLE) || \
defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || \
defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
2017-08-09 16:29:06 -07:00
# error Beast requires C++11: a conforming compiler is needed
2017-07-27 06:39:07 -07:00
# endif
#endif
#endif