mpfr.h uses a non-portable test to guess if intmax_t is available and
if API functions using intmax_t should be exposed. Define
MPFR_USE_INTMAX_T to override the non-portable test and always expose
these functions. This fixes the build on platforms where the test
guesses incorrectly.
gdb/ChangeLog:
* target-float.c [HAVE_LIBMPFR]: Define MPFR_USE_INTMAX_T.
+2017-11-29 John Baldwin <jhb@FreeBSD.org>
+
+ * target-float.c [HAVE_LIBMPFR]: Define MPFR_USE_INTMAX_T.
+
2017-11-29 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (to_fixed_range_type): Make sure that the size
#ifdef HAVE_LIBMPFR
+#define MPFR_USE_INTMAX_T
+
#include <mpfr.h>
class mpfr_float_ops : public target_float_ops