summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-30 12:37:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-30 12:37:50 (GMT)
commitb49738ff138e13a39a594458fefc273272acffee (patch)
treef100736555d31d972ada62b12b8a189ba9c2253e /tools
parent1a00939829b0f8551c44af805ffd701f65c2a58b (diff)
downloadtcl-b49738ff138e13a39a594458fefc273272acffee.zip
tcl-b49738ff138e13a39a594458fefc273272acffee.tar.gz
tcl-b49738ff138e13a39a594458fefc273272acffee.tar.bz2
Tweak libtommath building, such that it doesn't depend on uint64_t any more. (handle mp_word in the same way as mp_digit)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fix_tommath_h.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/fix_tommath_h.tcl b/tools/fix_tommath_h.tcl
index 61fa4fd..cee29fa 100755
--- a/tools/fix_tommath_h.tcl
+++ b/tools/fix_tommath_h.tcl
@@ -45,6 +45,12 @@ foreach line [split $data \n] {
puts "\#define MP_DIGIT_DECLARED"
puts "\#endif"
}
+ {typedef.*mp_word;} {
+ puts "\#ifndef MP_WORD_DECLARED"
+ puts $line
+ puts "\#define MP_WORD_DECLARED"
+ puts "\#endif"
+ }
{typedef struct} {
puts "\#ifndef MP_INT_DECLARED"
puts "\#define MP_INT_DECLARED"