diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-13 07:05:01 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-13 07:05:01 +0000 |
commit | 4d6664e2fa239c62e54390deaa1e2e5cc34a3ea5 (patch) | |
tree | 5671c5ed306781f32029252cbdab135d27ebc5a6 /src | |
parent | fe5703214405598b9537973379dfdbb849afcc8c (diff) | |
download | mpfr-4d6664e2fa239c62e54390deaa1e2e5cc34a3ea5.tar.gz |
[src/mpfr-gmp.h] redefine __clz_tab also with gmp-build
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11969 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/mpfr-gmp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mpfr-gmp.h b/src/mpfr-gmp.h index 4eb103a41..a4c13aa41 100644 --- a/src/mpfr-gmp.h +++ b/src/mpfr-gmp.h @@ -80,7 +80,10 @@ extern "C" { # error "Can't compute log2(GMP_NUMB_BITS)" #endif - +/* Remap names of internal mpn functions (for longlong.h). + Note: this should be made both with and without gmp build. */ +#undef __clz_tab +#define __clz_tab mpfr_clz_tab /****************************************************** ************* Define GMP Internal Interface ********* @@ -231,10 +234,6 @@ typedef mp_limb_t UWtype; typedef unsigned int UHWtype; #define W_TYPE_SIZE GMP_NUMB_BITS -/* Remap names of internal mpn functions (for longlong.h). */ -#undef __clz_tab -#define __clz_tab mpfr_clz_tab - /* Use (4.0 * ...) instead of (2.0 * ...) to work around buggy compilers that don't convert ulong->double correctly (eg. SunOS 4 native cc). */ #undef MP_BASE_AS_DOUBLE |