]> granicus.if.org Git - python/commitdiff
Rationalize MS #ifdefs
authorGuido van Rossum <guido@python.org>
Wed, 11 Sep 1996 23:31:42 +0000 (23:31 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 11 Sep 1996 23:31:42 +0000 (23:31 +0000)
Modules/_tkinter.c

index 4d6a6f9b1750ebac318c3a1acbcb6b88f1890ac9..5f5b859e34b25da1f25f80142d927d52e3b7d33f 100644 (file)
@@ -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