diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-11-09 16:18:35 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-11-09 16:18:35 +0000 |
commit | 77a98c53338ad1733b5640e3c8e5b0cc99afe07e (patch) | |
tree | ec0b6f36831620619f9f0a5e11f8e67597f4d33d /tests/tzeta_ui.c | |
parent | e95032b03659d240f8940b8a8d8d7a7f3ffd31b3 (diff) | |
download | mpfr-77a98c53338ad1733b5640e3c8e5b0cc99afe07e.tar.gz |
Make trunk tests work with MPFR 2.2 (branch), by testing the version.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3952 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tzeta_ui.c')
-rw-r--r-- | tests/tzeta_ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tzeta_ui.c b/tests/tzeta_ui.c index e342dcb16..f298d2dce 100644 --- a/tests/tzeta_ui.c +++ b/tests/tzeta_ui.c @@ -29,6 +29,7 @@ MA 02110-1301, USA. */ int main (int argc, char *argv[]) { +#if MPFR_VERSION >= MPFR_VERSION_NUM(2,3,0) unsigned int prec, yprec; int rnd; mpfr_t x, y, z, t; @@ -104,5 +105,6 @@ main (int argc, char *argv[]) mpfr_clear (t); tests_end_mpfr (); +#endif return 0; } |