diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2023-05-19 19:09:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 19:09:59 (GMT) |
commit | 625887e6df5dbebe48be172b424ba519e2ba2ddc (patch) | |
tree | 90d0b01ffa46ba436af44a18b369038509fb361b /Modules | |
parent | 486bc8e03019b8edc3cbfc6e64db96d65dbe13b6 (diff) | |
download | cpython-625887e6df5dbebe48be172b424ba519e2ba2ddc.zip cpython-625887e6df5dbebe48be172b424ba519e2ba2ddc.tar.gz cpython-625887e6df5dbebe48be172b424ba519e2ba2ddc.tar.bz2 |
gh-103839: Allow building Tkinter against Tcl 8.7 without external libtommath (GH-103842)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 4dada0b..49c9444 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -60,6 +60,9 @@ Copyright (C) 1994 Steen Lumholt. #error "Tk older than 8.5.12 not supported" #endif +#ifndef TCL_WITH_EXTERNAL_TOMMATH +#define TCL_NO_TOMMATH_H +#endif #include <tclTomMath.h> #if !(defined(MS_WINDOWS) || defined(__CYGWIN__)) |