diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-02-14 17:59:21 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-02-14 17:59:21 (GMT) |
commit | d09c63e68f38457623b95d38022ea2ab019dc701 (patch) | |
tree | cfb3db92ff856ada3bf7375f563aabac7a999dc7 /generic/tclTomMath.h | |
parent | a6f84305e408210e5c738997584666d228771561 (diff) | |
download | tcl-d09c63e68f38457623b95d38022ea2ab019dc701.zip tcl-d09c63e68f38457623b95d38022ea2ab019dc701.tar.gz tcl-d09c63e68f38457623b95d38022ea2ab019dc701.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.
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 $ */ |