]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Define MPFR_USE_INTMAX_T so that mpfr.h assumes intmax_t is available.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 30 Nov 2017 00:28:01 +0000 (16:28 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 30 Nov 2017 00:28:01 +0000 (16:28 -0800)
commit7505954411a168f5c5b9adec23eac55b1532fbe6
treea76d317f5108f618916c529052c7a87d048bf03c
parent8029e59279e861071234decddf6a493119e0cb98
Define MPFR_USE_INTMAX_T so that mpfr.h assumes intmax_t is available.

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.
gdb/ChangeLog
gdb/target-float.c