summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
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)
commit6d8b0c705f0d36540ea0d5624619a64a38986ec8 (patch)
treef100736555d31d972ada62b12b8a189ba9c2253e /generic/tcl.h
parentfaaf0a0fe6d2b8b2e4c5358d6c6055df97ed00d4 (diff)
downloadtcl-6d8b0c705f0d36540ea0d5624619a64a38986ec8.zip
tcl-6d8b0c705f0d36540ea0d5624619a64a38986ec8.tar.gz
tcl-6d8b0c705f0d36540ea0d5624619a64a38986ec8.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 'generic/tcl.h')
-rw-r--r--generic/tcl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 6fa26f9..da9b292 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2263,6 +2263,8 @@ typedef struct mp_int mp_int;
#define MP_INT_DECLARED
typedef unsigned int mp_digit;
#define MP_DIGIT_DECLARED
+typedef unsigned TCL_WIDE_INT_TYPE mp_word;
+#define MP_WORD_DECLARED
/*
*----------------------------------------------------------------------------