X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fmultiprecision%2Ftest%2Ftest_fpclassify.cpp;fp=ceph%2Fsrc%2Fboost%2Flibs%2Fmultiprecision%2Ftest%2Ftest_fpclassify.cpp;h=380f8d1a21b965d17c04905ac2babe321316af85;hb=20effc670b57271cb089376d6d0800990e5218d5;hp=2549d0980b8248a668d2a87fd7ad388a8ea559ba;hpb=a71831dadd1e1f3e0fa70405511f65cc33db0498;p=ceph.git diff --git a/ceph/src/boost/libs/multiprecision/test/test_fpclassify.cpp b/ceph/src/boost/libs/multiprecision/test/test_fpclassify.cpp index 2549d0980..380f8d1a2 100644 --- a/ceph/src/boost/libs/multiprecision/test/test_fpclassify.cpp +++ b/ceph/src/boost/libs/multiprecision/test/test_fpclassify.cpp @@ -210,7 +210,7 @@ void test() BOOST_CHECK_EQUAL((::boost::math::isnormal)(t), false); BOOST_CHECK_EQUAL((::boost::math::isnormal)(-t), false); BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (::boost::math::fpclassify)(t + 0)); -#if !defined(__BORLANDC__) && !(defined(__DECCXX) && !defined(_IEEE_FP)) +#if !defined(BOOST_BORLANDC) && !(defined(__DECCXX) && !defined(_IEEE_FP)) // divide by zero on Borland triggers a C++ exception :-( // divide by zero on Compaq CXX triggers a C style signal :-( t = 2; @@ -248,7 +248,7 @@ void test() { std::cout << "Infinity not tested" << std::endl; } -#ifndef __BORLANDC__ +#ifndef BOOST_BORLANDC // NaN's: // Note that Borland throws an exception if we even try to obtain a Nan // by calling std::numeric_limits::quiet_NaN() !!!!!!!