diff --git a/src/mp_std_bits.cc b/src/mp_std_bits.cc index d353c19..f720858 100644 --- a/src/mp_std_bits.cc +++ b/src/mp_std_bits.cc @@ -45,7 +45,9 @@ const bool std::numeric_limits::is_iec559; const bool std::numeric_limits::is_bounded; const bool std::numeric_limits::is_modulo; const bool std::numeric_limits::traps; +#if __GNU_MP_RELEASE < 50100 const bool std::numeric_limits::tininess_before; +#endif const std::float_round_style std::numeric_limits::round_style; const bool std::numeric_limits::is_specialized; @@ -68,5 +70,7 @@ const bool std::numeric_limits::is_iec559; const bool std::numeric_limits::is_bounded; const bool std::numeric_limits::is_modulo; const bool std::numeric_limits::traps; +#if __GNU_MP_RELEASE < 50100 const bool std::numeric_limits::tininess_before; +#endif const std::float_round_style std::numeric_limits::round_style; diff --git a/src/mp_std_bits.defs.hh b/src/mp_std_bits.defs.hh index d1ecf54..6cca7a7 100644 --- a/src/mp_std_bits.defs.hh +++ b/src/mp_std_bits.defs.hh @@ -38,6 +38,7 @@ void swap(mpz_class& x, mpz_class& y); #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS) void swap(mpq_class& x, mpq_class& y); +#if __GNU_MP_RELEASE < 50100 namespace std { #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS @@ -164,6 +165,7 @@ public: } // namespace std +#endif // __GNU_MP_RELEASE < 50100 #include "mp_std_bits.inlines.hh" #endif // !defined(PPL_mp_std_bits_defs_hh)