Skip to content

Commit 5cd67d8

Browse files
Fix INVALID_FD on Windows.
1 parent 3a75d98 commit 5cd67d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_signal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern "C" {
3737
#endif
3838

3939
#ifdef MS_WINDOWS
40-
# define INVALID_FD ((SOCKET_T)-1)
40+
# define INVALID_FD ((SOCKET)-1)
4141
#else
4242
# define INVALID_FD (-1)
4343
#endif

0 commit comments

Comments
 (0)