Skip to content

Commit

Permalink
FPE: disabling support of the glibC extensions for uLibC std library
Browse files Browse the repository at this point in the history
- this mimics the behaviour of boost 1.61 (external patch to BOOST_NO_FENV_H)
  • Loading branch information
raffienficiaud committed Mar 18, 2017
1 parent 066e28c commit cb2a1c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/boost/test/execution_monitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@
#define BOOST_TEST_FPE_SUPPORT_WITH_SEH__
#elif !defined(BOOST_SEH_BASED_SIGNAL_HANDLING) && !defined(UNDER_CE)
#if !defined(BOOST_NO_FENV_H) && !defined(BOOST_CLANG) && \
(defined(__GLIBC__) && defined(__USE_GNU))
defined(__GLIBC__) && defined(__USE_GNU) && \
!(defined(__UCLIBC__) || defined(__nios2__) || defined(__microblaze__))
//! Indicates that floating point exception handling is supported for the
//! non SEH version of it, for the GLIBC extensions only
// see dicussions on the related topic: https://svn.boost.org/trac/boost/ticket/11756
#define BOOST_TEST_FPE_SUPPORT_WITH_GLIBC_EXTENSIONS__
#endif
#endif
Expand Down

0 comments on commit cb2a1c2

Please sign in to comment.