summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2007-02-13 03:43:39 (GMT)
committerkennykb <kennykb@noemail.net>2007-02-13 03:43:39 (GMT)
commitd643bdb636eebee6e59c7dc0a8b6a7274a7b9094 (patch)
treef7de8f94abd586b2e67d3a8a21084e6795b73f30 /tools
parentc59c697054cfce0dfa70282ea7a350ce1e821b70 (diff)
downloadtcl-d643bdb636eebee6e59c7dc0a8b6a7274a7b9094.zip
tcl-d643bdb636eebee6e59c7dc0a8b6a7274a7b9094.tar.gz
tcl-d643bdb636eebee6e59c7dc0a8b6a7274a7b9094.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. FossilOrigin-Name: c1809b81057864dbd6d59dba5b9e5430a6ec3aa0
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fix_tommath_h.tcl6
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
}