Commit 724c1281 authored by Manuel Günther's avatar Manuel Günther
Browse files

Not redefining BOOST macro when boost is included before bob.core/random.h

parent 8b693289
......@@ -23,6 +23,7 @@ namespace core {
namespace random {
namespace detail {
#ifndef BOOST_RANDOM_DETAIL_CONSTEXPR
#if !defined(BOOST_NO_CXX11_CONSTEXPR)
#define BOOST_RANDOM_DETAIL_CONSTEXPR constexpr
#elif defined(BOOST_MSVC)
......@@ -32,6 +33,7 @@ namespace detail {
#else
#define BOOST_RANDOM_DETAIL_CONSTEXPR inline
#endif
#endif
template<int Shift>
struct integer_log2_impl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment