summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpfr.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpfr.texi b/mpfr.texi
index ddf429e7a..8b7ac14f5 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -488,7 +488,8 @@ with @code{va_list} parameters, such as @code{mpfr_vprintf}.
And for any functions using @code{intmax_t}, you must include
@code{<stdint.h>} or @code{<inttypes.h>} before @file{mpfr.h}, to
allow @file{mpfr.h} to define prototypes for these functions. Moreover,
-users of C++ compilers must define at least one of the following macros:
+users of C++ compilers under some platforms may need to define at least
+one of the following macros (at least for portability):
@code{__STDC_LIMIT_MACROS} or @code{__STDC_CONSTANT_MACROS} (before
@code{<stdint.h>} or @code{<inttypes.h>} has been included) or
@code{MPFR_USE_INTMAX_T} (before @file{mpfr.h} has been included);