summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mpf2mpfr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpf2mpfr.h b/src/mpf2mpfr.h
index 3ecbdf97b..a1b10ed11 100644
--- a/src/mpf2mpfr.h
+++ b/src/mpf2mpfr.h
@@ -53,7 +53,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#undef mpf_cmp_d
#define mpf_cmp_d mpfr_cmp_d
/* mpf_cmp_z appeared in GMP 6.1.0 */
-#if GMP_VERSION >= 6 && GMP_VERSION_MINOR >= 1
+#if __MPFR_GMP(6,1,0)
#undef mpf_cmp_z
#define mpf_cmp_z mpfr_cmp_z
#endif