summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-11 23:31:42 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-11 23:31:42 (GMT)
commit07886d0e01485f49f02cc973c811e3c16d44d8ef (patch)
tree75c35302982194a2f7b002a70712a12d8c0fd640 /Modules
parentf156f503cddaa0fad96e91405ebf0f5e88b8efbe (diff)
downloadcpython-07886d0e01485f49f02cc973c811e3c16d44d8ef.zip
cpython-07886d0e01485f49f02cc973c811e3c16d44d8ef.tar.gz
cpython-07886d0e01485f49f02cc973c811e3c16d44d8ef.tar.bz2
Rationalize MS #ifdefs
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_tkinter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 4d6a6f9..5f5b859 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -924,7 +924,7 @@ Tkapp_CreateFileHandler (self, args)
data = Py_BuildValue ("(OO)", func, file);
#if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001
-#ifdef NT
+#ifdef MS_WINDOWS
/* We assume this is a socket... */
tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET);
#else
@@ -959,7 +959,7 @@ Tkapp_DeleteFileHandler (self, args)
return NULL;
#if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001
-#ifdef NT
+#ifdef MS_WINDOWS
/* We assume this is a socket... */
tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET);
#else