summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-20 20:49:56 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-20 20:49:56 (GMT)
commitbf0dc9fb149e0b1a86c1675a27dc6f7a3717bc3b (patch)
tree3fe7df76c94dcf7d71a824b2eccda1ef15ea087d
parentd7abed3b14238f9f4809af93b1381b7e92c0891d (diff)
downloadcpython-bf0dc9fb149e0b1a86c1675a27dc6f7a3717bc3b.zip
cpython-bf0dc9fb149e0b1a86c1675a27dc6f7a3717bc3b.tar.gz
cpython-bf0dc9fb149e0b1a86c1675a27dc6f7a3717bc3b.tar.bz2
Add #define MAC_TCL for Mac.
-rw-r--r--Modules/_tkinter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index f198e75..566bf77 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -40,6 +40,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include <ctype.h>
+#ifdef macintosh
+#define MAC_TCL
+#endif
+
#include <tcl.h>
#include <tk.h>