summaryrefslogtreecommitdiff
path: root/src/mpfr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpfr.h')
-rw-r--r--src/mpfr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr.h b/src/mpfr.h
index 12efd4fe2..253c70607 100644
--- a/src/mpfr.h
+++ b/src/mpfr.h
@@ -140,6 +140,9 @@ typedef unsigned int mpfr_uexp_t;
typedef long mpfr_exp_t;
typedef unsigned long mpfr_uexp_t;
#elif _MPFR_EXP_FORMAT == 4
+/* Note: in this case, intmax_t and uintmax_t must be defined before
+ the inclusion of mpfr.h (we do not include <stdint.h> here because
+ of some non-ISO C99 implementations that support these types). */
typedef intmax_t mpfr_exp_t;
typedef uintmax_t mpfr_uexp_t;
#else