summaryrefslogtreecommitdiff
path: root/tests/tnrandom.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-07-02 11:59:52 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-07-02 11:59:52 +0000
commite235c475c6e4ac49a4cb5359f3cfff872605a487 (patch)
treedfd0da4a5e8fd4a93d5e083e32ec6b19ba66bd13 /tests/tnrandom.c
parent1fe1c510f2448f184d2bf1787a565ba320e938bc (diff)
downloadmpfr-e235c475c6e4ac49a4cb5359f3cfff872605a487.tar.gz
[tests/t[ne]random.c] Code clean-up: added !defined(MPFR_USE_MINI_GMP)
to protect mpfr_printf. This is actually not needed due to the initial "#ifndef MPFR_USE_MINI_GMP" but this is for a different reason. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9133 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tnrandom.c')
-rw-r--r--tests/tnrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tnrandom.c b/tests/tnrandom.c
index 92db54ce7..d7c0af87a 100644
--- a/tests/tnrandom.c
+++ b/tests/tnrandom.c
@@ -73,7 +73,7 @@ test_nrandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd,
}
}
-#ifdef HAVE_STDARG
+#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
if (verbose)
{
mpfr_init2 (av, prec);