Kaydet (Commit) 07886d0e authored tarafından Guido van Rossum's avatar Guido van Rossum

Rationalize MS #ifdefs

üst f156f503
...@@ -924,7 +924,7 @@ Tkapp_CreateFileHandler (self, args) ...@@ -924,7 +924,7 @@ Tkapp_CreateFileHandler (self, args)
data = Py_BuildValue ("(OO)", func, file); data = Py_BuildValue ("(OO)", func, file);
#if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001 #if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001
#ifdef NT #ifdef MS_WINDOWS
/* We assume this is a socket... */ /* We assume this is a socket... */
tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET); tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET);
#else #else
...@@ -959,7 +959,7 @@ Tkapp_DeleteFileHandler (self, args) ...@@ -959,7 +959,7 @@ Tkapp_DeleteFileHandler (self, args)
return NULL; return NULL;
#if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001 #if (TK_MAJOR_VERSION*1000 + TK_MINOR_VERSION) >= 4001
#ifdef NT #ifdef MS_WINDOWS
/* We assume this is a socket... */ /* We assume this is a socket... */
tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET); tfile = Tcl_GetFile((ClientData)id, TCL_WIN_SOCKET);
#else #else
......
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