Commit 26216378 authored by Guido van Rossum's avatar Guido van Rossum

Add #ifdefs so Tcl_Finalize isn't referenced when it's not defined.

parent 23cff317
......@@ -1548,7 +1548,9 @@ init_tkinter()
if (PyErr_Occurred())
return;
#if TKMAJORMINOR >= 8000
Py_AtExit(Tcl_Finalize);
#endif
#ifdef macintosh
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment