mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
- Enable `long double` C99 math usage - Switch 9.x back to building with GCC Changes: http://www.boost.org/users/history/ PR: 199601 Submitted by: Chen Xu, bapt, amdmi3, truckman (based on) Reviewed by: rakuco (kde) (earlier version) Exp-run by: antoine (3 tries), truckman (consumers only, earlier versions) Approved by: bapt (office)
11 lines
513 B
C++
11 lines
513 B
C++
--- boost/math/tools/config.hpp.orig 2016-09-21 14:33:24 UTC
|
|
+++ boost/math/tools/config.hpp
|
|
@@ -28,7 +28,7 @@
|
|
|
|
#include <boost/math/tools/user.hpp>
|
|
|
|
-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
|
|
+#if (defined(__CYGWIN__) || defined(__NetBSD__) \
|
|
|| (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
|
|
&& !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
|
|
# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
|