Undef and add to PCH

This commit is contained in:
Matt Borland 2021-01-27 18:27:44 +03:00
parent 7662093bd8
commit fc9cd6761f
No known key found for this signature in database
GPG Key ID: 46870490AC0E8370
3 changed files with 14 additions and 1 deletions

View File

@ -5,6 +5,10 @@
#ifdef BOOST_BUILD_PCH_ENABLED
#ifndef NOMINMAX
#define NOMINMAX
#endif
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/math/special_functions/math_fwd.hpp>
#include <boost/math/tools/test.hpp>

View File

@ -4,8 +4,9 @@
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <pch_light.hpp>
#include "test_carlson.hpp"

View File

@ -4,7 +4,15 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
#include <boost/math/concepts/real_concept.hpp>
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>