From e57b201277943bf713d8192084eb0c29ae4d7cc7 Mon Sep 17 00:00:00 2001
From: Richard PALO <richard@NetBSD.org>
Date: Sat, 21 Nov 2015 06:57:36 +0100
Subject: [PATCH] libs/math convert sun=>__sun for strict ISO compilers
Signed-off-by: Richard PALO <richard@NetBSD.org>
---
include/boost/math/special_functions/detail/fp_traits.hpp | 2 +-
include/boost/math/tools/config.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/boost/math/special_functions/detail/fp_traits.hpp b/include/boost/math/special_functions/detail/fp_traits.hpp
index 09dc516..8afc943 100644
a
|
b
|
struct select_native<long double>
|
556 | 556 | && !defined(__FAST_MATH__)\ |
557 | 557 | && !defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY)\ |
558 | 558 | && !defined(BOOST_INTEL)\ |
559 | | && !defined(sun) |
| 559 | && !defined(__sun) |
560 | 560 | # define BOOST_MATH_USE_STD_FPCLASSIFY |
561 | 561 | #endif |
562 | 562 | |
diff --git a/include/boost/math/tools/config.hpp b/include/boost/math/tools/config.hpp
index 142aacf..394c1e6 100644
a
|
b
|
|
50 | 50 | // are disabled for now. (JM 2012). |
51 | 51 | # define BOOST_MATH_NO_REAL_CONCEPT_TESTS |
52 | 52 | #endif |
53 | | #ifdef sun |
| 53 | #ifdef __sun |
54 | 54 | // Any use of __float128 in program startup code causes a segfault (tested JM 2015, Solaris 11). |
55 | 55 | # define BOOST_MATH_DISABLE_FLOAT128 |
56 | 56 | #endif |