config.hpp 964 B

123456789101112131415161718192021222324252627
  1. // Boost.Geometry
  2. // Copyright (c) 2018 Oracle and/or its affiliates.
  3. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_GEOMETRY_CORE_CONFIG_HPP
  8. #define BOOST_GEOMETRY_CORE_CONFIG_HPP
  9. #include <boost/config.hpp>
  10. // NOTE: workaround for VC++ 12 (aka 2013): cannot specify explicit initializer for arrays
  11. #if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && (!defined(_MSC_VER) || (_MSC_VER >= 1900))
  12. #define BOOST_GEOMETRY_CXX11_ARRAY_UNIFIED_INITIALIZATION
  13. #endif
  14. // Rescaling is turned on, unless NO_ROBUSTNESS is defined
  15. // In future versions of Boost.Geometry, it will be turned off by default
  16. #if ! defined(BOOST_GEOMETRY_NO_ROBUSTNESS)
  17. #define BOOST_GEOMETRY_USE_RESCALING
  18. #endif
  19. #endif // BOOST_GEOMETRY_CORE_CONFIG_HPP