diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-06-15 00:13:54 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-06-15 00:13:54 +0200 |
commit | ef170bd75f800015f47c629986072a5b9a0e8016 (patch) | |
tree | a29b12c12112b69cb087e7200d47170df32ba1a2 /mp_clz_tab.c | |
parent | a291d4ae80fd298a1e46e3db8ced1b4d32e86d25 (diff) | |
download | gmp-ef170bd75f800015f47c629986072a5b9a0e8016.tar.gz |
* mp_clz_tab.c: Compile the table only if longlong.h says it's needed;
add an internal-use-only comment.
Diffstat (limited to 'mp_clz_tab.c')
-rw-r--r-- | mp_clz_tab.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mp_clz_tab.c b/mp_clz_tab.c index 8ede12e96..514ffef3d 100644 --- a/mp_clz_tab.c +++ b/mp_clz_tab.c @@ -1,6 +1,10 @@ /* __clz_tab -- support for longlong.h -Copyright 1991, 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc. + THE CONTENTS OF THIS FILE ARE FOR INTERNAL USE AND MAY CHANGE + INCOMPATIBLY OR DISAPPEAR IN A FUTURE GNU MP RELEASE. + +Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation, +Inc. This file is part of the GNU MP Library. @@ -21,7 +25,9 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" +#include "longlong.h" +#ifdef COUNT_LEADING_ZEROS_NEED_CLZ_TAB const unsigned char __clz_tab[128] = { @@ -30,3 +36,4 @@ unsigned char __clz_tab[128] = 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 }; +#endif |