12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef BOOST_METAPARSE_CONFIG_HPP
- #define BOOST_METAPARSE_CONFIG_HPP
- // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
- // 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)
- #include <boost/config.hpp>
- /*
- * Compiler workarounds
- */
- // BOOST_NO_CXX11_CONSTEXPR is not defined in gcc 4.6
- #if \
- defined BOOST_NO_CXX11_CONSTEXPR || defined BOOST_NO_CONSTEXPR || ( \
- !defined __clang__ && defined __GNUC__ \
- && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)) \
- )
- # define BOOST_NO_CONSTEXPR_C_STR
- #endif
- /*
- * Metaparse config
- */
- #if \
- !defined BOOST_NO_CXX11_VARIADIC_TEMPLATES \
- && !defined BOOST_NO_VARIADIC_TEMPLATES \
- && !defined BOOST_METAPARSE_VARIADIC_STRING
- # define BOOST_METAPARSE_VARIADIC_STRING
- #endif
- #endif
|