mirror of https://github.com/python/cpython
Add #ifdefs so Tcl_Finalize isn't referenced when it's not defined.
This commit is contained in:
parent
23cff3170e
commit
2621637835
|
@ -1548,7 +1548,9 @@ init_tkinter()
|
|||
if (PyErr_Occurred())
|
||||
return;
|
||||
|
||||
#if TKMAJORMINOR >= 8000
|
||||
Py_AtExit(Tcl_Finalize);
|
||||
#endif
|
||||
|
||||
#ifdef macintosh
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue