mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
gh-103839: Allow building Tkinter against Tcl 8.7 without external libtommath (GH-103842)
This commit is contained in:
parent
486bc8e030
commit
625887e6df
@ -0,0 +1,2 @@
|
||||
Avoid compilation error due to tommath.h not being found when building
|
||||
Tkinter against Tcl 8.7 built with bundled libtommath.
|
@ -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__))
|
||||
|
Loading…
Reference in New Issue
Block a user