[Boost-bugs] [Boost C++ Libraries] #2668: fenv.h is not supported by uClibc

Subject: [Boost-bugs] [Boost C++ Libraries] #2668: fenv.h is not supported by uClibc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-20 18:57:41


#2668: fenv.h is not supported by uClibc
------------------------------------------------+---------------------------
 Reporter: Mike Frysinger <vapier_at_[hidden]> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: None
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 since uClibc doesnt support fenv.h, could we add a check for it to
 boost/math/tools/config.hpp ?

 the simple change:
 --- a/boost/math/tools/config.hpp
 +++ b/boost/math/tools/config.hpp
 @@ -219,7 +219,7 @@
  } // namespace tools
  }} // namespace boost namespace math

 -#ifdef __linux__
 +#if defined __linux__ && !defined __UCLIBC__

     #include <fenv.h>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2668>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC