summaryrefslogtreecommitdiff
path: root/src/mpfr-gmp.h
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-29 13:15:33 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-29 13:15:33 +0000
commit9cfe7f7883710e842da212956360ecd79ecc40a6 (patch)
tree88f0421499c911d4d6d0e6a136de9e46907b8cf3 /src/mpfr-gmp.h
parent97ef5a0b63e9b160a0966940f54628ffcf6d0989 (diff)
downloadmpfr-9cfe7f7883710e842da212956360ecd79ecc40a6.tar.gz
added new option --enable-gmp-internals to use GMP undocumented function
(at user's own risk). So far only mpn_rootrem is used in mpfr_sqrt. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7182 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-gmp.h')
-rw-r--r--src/mpfr-gmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpfr-gmp.h b/src/mpfr-gmp.h
index dfb16b0ed..690724777 100644
--- a/src/mpfr-gmp.h
+++ b/src/mpfr-gmp.h
@@ -287,7 +287,7 @@ __MPFR_DECLSPEC void *__gmp_default_reallocate _MPFR_PROTO ((void *, size_t,
size_t));
__MPFR_DECLSPEC void __gmp_default_free _MPFR_PROTO ((void *, size_t));
-#ifdef HAVE___GMPN_ROOTREM
+#if defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_ROOTREM)
#ifndef __gmpn_rootrem
__MPFR_DECLSPEC mp_size_t __gmpn_rootrem _MPFR_PROTO ((mp_ptr, mp_ptr,
mp_srcptr, mp_size_t, mp_limb_t));