]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/core/config.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / geometry / core / config.hpp
1 // Boost.Geometry
2
3 // Copyright (c) 2019 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2018 Oracle and/or its affiliates.
5 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
6
7 // Use, modification and distribution is subject to the Boost Software License,
8 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
10
11 #ifndef BOOST_GEOMETRY_CORE_CONFIG_HPP
12 #define BOOST_GEOMETRY_CORE_CONFIG_HPP
13
14 #include <boost/config.hpp>
15
16 // NOTE: workaround for VC++ 12 (aka 2013): cannot specify explicit initializer for arrays
17 #if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && (!defined(_MSC_VER) || (_MSC_VER >= 1900))
18 #define BOOST_GEOMETRY_CXX11_ARRAY_UNIFIED_INITIALIZATION
19 #endif
20
21 // Defining this selects Kramer rule for segment-intersection
22 // That is default behaviour.
23 #define BOOST_GEOMETRY_USE_KRAMER_RULE
24
25 // Rescaling is turned on, unless NO_ROBUSTNESS is defined
26 // In future versions of Boost.Geometry, it will be turned off by default
27 #if ! defined(BOOST_GEOMETRY_NO_ROBUSTNESS)
28 #define BOOST_GEOMETRY_USE_RESCALING
29 #endif
30
31 #endif // BOOST_GEOMETRY_CORE_CONFIG_HPP