diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-02-13 03:43:40 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-02-13 03:43:40 (GMT) |
commit | a03146b597b00bea94e0be033795d2afe4c2f0fc (patch) | |
tree | f7de8f94abd586b2e67d3a8a21084e6795b73f30 /tools | |
parent | 1c067fb11af9b699bf05dcb25667aece3c696d61 (diff) | |
download | tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.zip tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.tar.gz tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.tar.bz2 |
* tools/fix_tommath_h.tcl: Added code to patch out a check for
__x86_64__ that caused Tommath to use __attributes(TI)__ for
the mp_word type. Tetra-int's simply fail on too many gcc-glibc-OS
combinations to be ready for shipment today, even if they
work for some of us. This change allows reversion of das's change
of 2006-08-18 that accomplised the same thing on Darwin.
* generic/tclTomMath.h: Regenerated.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/fix_tommath_h.tcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/fix_tommath_h.tcl b/tools/fix_tommath_h.tcl index adad734..2ea3a02 100755 --- a/tools/fix_tommath_h.tcl +++ b/tools/fix_tommath_h.tcl @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: fix_tommath_h.tcl,v 1.4 2005/12/13 22:43:18 kennykb Exp $ +# RCS: @(#) $Id: fix_tommath_h.tcl,v 1.5 2007/02/13 03:43:41 kennykb Exp $ # #---------------------------------------------------------------------- @@ -62,6 +62,10 @@ foreach line [split $data \n] { puts "\#if 0 /* these are macros in tclTomMathDecls.h */" set eat_endif 1 } + {__x86_64__} { + puts "[string map {__x86_64__ NEVER} $line]\ + /* 128-bit ints fail in too many places */" + } default { puts $line } |