diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-07-02 11:59:52 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-07-02 11:59:52 +0000 |
commit | e235c475c6e4ac49a4cb5359f3cfff872605a487 (patch) | |
tree | dfd0da4a5e8fd4a93d5e083e32ec6b19ba66bd13 /tests/tnrandom.c | |
parent | 1fe1c510f2448f184d2bf1787a565ba320e938bc (diff) | |
download | mpfr-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.c | 2 |
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); |