summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-04-10 08:29:47 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-04-10 08:29:47 +0000
commit04b2e866e394f814b2c75bac88e141d5859e5af4 (patch)
tree45cbc8c94b779abde6d18952a2158933f0b90d65 /mpfr.texi
parenta6a8474504922f0744f43bd4fd049508353c257a (diff)
downloadmpfr-04b2e866e394f814b2c75bac88e141d5859e5af4.tar.gz
mpfr.texi: update concerning intmax_t after the change in r6166.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6168 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-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);