mirror of https://github.com/CGAL/cgal
Enable Boost.Multiprecision with MSVC and recent boost
This commit is contained in:
parent
d94f015acd
commit
291746d49c
|
|
@ -18,9 +18,10 @@
|
|||
// It is easier to disable this number type completely for old versions.
|
||||
// Before 1.63, I/O is broken. Again, disabling the whole file is just the
|
||||
// easy solution.
|
||||
// TODO: MSVC has trouble with versions <= 1.69, reenable once 1.70 has been
|
||||
// tested. https://github.com/boostorg/multiprecision/issues/98
|
||||
#if !defined CGAL_DISABLE_GMP && !defined CGAL_DO_NOT_USE_BOOST_MP && BOOST_VERSION >= 106300 && !defined _MSC_VER
|
||||
// MSVC had trouble with versions <= 1.69:
|
||||
// https://github.com/boostorg/multiprecision/issues/98
|
||||
#if !defined CGAL_DISABLE_GMP && !defined CGAL_DO_NOT_USE_BOOST_MP && \
|
||||
BOOST_VERSION >= 106300 && (!defined _MSC_VER || BOOST_VERSION >= 107000)
|
||||
#define CGAL_USE_BOOST_MP 1
|
||||
|
||||
#include <CGAL/functional.h> // *ary_function
|
||||
|
|
|
|||
Loading…
Reference in New Issue