diff options
author | kennykb <kennykb@noemail.net> | 2007-02-14 17:59:21 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2007-02-14 17:59:21 (GMT) |
commit | 3a2cb4394156438feaed892472c3d0d3cf717eca (patch) | |
tree | cfb3db92ff856ada3bf7375f563aabac7a999dc7 /generic/tclTomMath.h | |
parent | 129db4b34c40a568f296561795fc04493d342502 (diff) | |
download | tcl-3a2cb4394156438feaed892472c3d0d3cf717eca.zip tcl-3a2cb4394156438feaed892472c3d0d3cf717eca.tar.gz tcl-3a2cb4394156438feaed892472c3d0d3cf717eca.tar.bz2 |
2007-02-13 Kevin Kenny <kennykb@acm.org>
* tools/fix_tommath_h.tcl: Further tweaking for the x86-64.
The change is to make 'mp_digit' be an 'unsigned int' on that
platform; since we're using only 32 bits of it, there's no
reason to make it a 64-bit 'unsigned long.'
* generic/tclTomMath.h: Regenerated.
FossilOrigin-Name: 3c35edbcc62f973935693609410d3231a095adca
Diffstat (limited to 'generic/tclTomMath.h')
-rw-r--r-- | generic/tclTomMath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h index aaa3fe7..d794316 100644 --- a/generic/tclTomMath.h +++ b/generic/tclTomMath.h @@ -51,7 +51,7 @@ extern "C" { /* detect 64-bit mode if possible */ -#if defined(NEVER) +#if defined(NEVER) /* 128-bit ints fail in too many places */ #if !(defined(MP_64BIT) && defined(MP_16BIT) && defined(MP_8BIT)) #define MP_64BIT #endif @@ -106,7 +106,7 @@ extern "C" { #endif #ifndef MP_DIGIT_DECLARED - typedef unsigned long mp_digit; + typedef unsigned int mp_digit; #define MP_DIGIT_DECLARED #endif typedef ulong64 mp_word; @@ -840,6 +840,6 @@ MODULE_SCOPE const char *mp_s_rmap; /* $Source: /root/tcl/repos-to-convert/tcl/generic/tclTomMath.h,v $ */ /* Based on Tom's version 1.8 */ -/* $Revision: 1.9 $ */ -/* $Date: 2007/02/13 03:43:41 $ */ +/* $Revision: 1.10 $ */ +/* $Date: 2007/02/14 17:59:21 $ */ |