summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-05-24 14:41:52 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-05-24 14:41:52 +0000
commit8ae75654ea2c38fc182d092ed764b2a196aca8da (patch)
treea0ab2b1d44f5da5ad35bfc140d8d2d465c625bb7 /src/mpfr-impl.h
parent53e5aa1f5ee1b1245bf815d02ad1e3faaf0005ca (diff)
downloadmpfr-8ae75654ea2c38fc182d092ed764b2a196aca8da.tar.gz
Avoid some warnings with "gcc -Wundef".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10352 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 1e9eeaa1b..61d84c6f4 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -63,7 +63,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
it can be used by any other header. */
#include "mpfr-cvers.h"
-#if _MPFR_EXP_FORMAT == 4
+#if defined(_MPFR_EXP_FORMAT) && _MPFR_EXP_FORMAT == 4
/* mpfr_exp_t will be defined as intmax_t */
# include "mpfr-intmax.h"
#endif