Blame SOURCES/boost-1.59-test-fenv.patch

3c181a
commit 2f3b98e640c25fe45ae691a5aa950745380b983e
3c181a
Author: Jonathan Wakely <jwakely@redhat.com>
3c181a
Date:   Mon Sep 14 15:05:24 2015 +0100
3c181a
3c181a
    Do not qualify <fenv.h> names that might be macros.
3c181a
3c181a
diff --git a/include/boost/test/impl/execution_monitor.ipp b/include/boost/test/impl/execution_monitor.ipp
3c181a
index 3a9e779..8b319df 100644
3c181a
--- a/include/boost/test/impl/execution_monitor.ipp
3c181a
+++ b/include/boost/test/impl/execution_monitor.ipp
3c181a
@@ -1380,8 +1380,8 @@ enable( unsigned mask )
3c181a
 
3c181a
     return ~old_cw & BOOST_FPE_ALL;
3c181a
 #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
3c181a
-    ::feclearexcept(BOOST_FPE_ALL);
3c181a
-    int res = ::feenableexcept( mask );
3c181a
+    feclearexcept(BOOST_FPE_ALL);
3c181a
+    int res = feenableexcept( mask );
3c181a
     return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
3c181a
 #else
3c181a
     /* Not Implemented  */
3c181a
@@ -1417,8 +1417,8 @@ disable( unsigned mask )
3c181a
 
3c181a
     return ~old_cw & BOOST_FPE_ALL;
3c181a
 #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
3c181a
-    ::feclearexcept(BOOST_FPE_ALL);
3c181a
-    int res = ::fedisableexcept( mask );
3c181a
+    feclearexcept(BOOST_FPE_ALL);
3c181a
+    int res = fedisableexcept( mask );
3c181a
     return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
3c181a
 #else
3c181a
     /* Not Implemented */