summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/turandom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/turandom.c b/tests/turandom.c
index d5c8339a7..53fce84e3 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -385,6 +385,7 @@ overflow_tests (void)
static void
reprod_abi (void)
{
+#if __MPFR_GMP(4,2,0)
#define N 6
/* Run this program with the MPFR_REPROD_ABI_OUTPUT environment variable
set to get the array of strings. */
@@ -456,6 +457,7 @@ reprod_abi (void)
}
gmp_randclear (s);
+#endif
}
int