Skip to content

Commit 39402ca

Browse files
lazkaAlexpux
andcommitted
fix isselectable
Co-authored-by: Алексей <[email protected]>
1 parent d93200e commit 39402ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/fileobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ PyAPI_DATA(int) Py_UTF8Mode;
3030
#endif
3131

3232
/* A routine to check if a file descriptor can be select()-ed. */
33-
#ifdef _MSC_VER
33+
#ifdef MS_WINDOWS
3434
/* On Windows, any socket fd can be select()-ed, no matter how high */
3535
#define _PyIsSelectable_fd(FD) (1)
3636
#else

0 commit comments

Comments
 (0)