Extracted DISABLE_MP_TESTS macro definition to a common header.

This commit is contained in:
Andrey Semashev
2018-11-05 22:56:03 +03:00
parent 682d4ac66b
commit 4bc1a5eb75
4 changed files with 23 additions and 17 deletions

View File

@ -34,11 +34,7 @@
#include <gmpxx.h>
#endif
#if (defined(BOOST_MSVC) && (BOOST_MSVC < 1500)) || \
(defined(__clang_major__) && (__clang_major__ == 3) && (__clang_minor__ < 2)) || \
(defined(BOOST_GCC) && defined(BOOST_GCC_CXX11) && BOOST_GCC < 40800)
#define DISABLE_MP_TESTS
#endif
#include "multiprecision_config.hpp"
#ifndef DISABLE_MP_TESTS
#include <boost/multiprecision/cpp_int.hpp>