Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment