From 1d20515678b9261a7c74b648f6258704acf04e7c Mon Sep 17 00:00:00 2001 From: zimmerma Date: Mon, 29 May 2000 13:54:39 +0000 Subject: added #ifdef TEST: if not defined (default), then function mpfr_set_machine_rnd_mode is not defined git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@598 280ebfd0-de03-0410-8827-d642c229c3f4 --- rnd_mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rnd_mode.c') diff --git a/rnd_mode.c b/rnd_mode.c index a8353dd74..2059103a3 100644 --- a/rnd_mode.c +++ b/rnd_mode.c @@ -19,6 +19,7 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef TEST #include #include "gmp.h" #include "mpfr.h" @@ -120,4 +121,4 @@ mpfr_set_machine_rnd_mode(rnd_mode) default: fprintf(stderr, "invalid rounding mode\n"); exit(1); } } - +#endif -- cgit v1.2.1