Skip to content

Commit 6b7bf01

Browse files
gh-148575: Use the right entry to read the set of file descriptors on CYGWIN
This patch fixes issue #148575.
1 parent 5c3deca commit 6b7bf01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_posixsubprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# endif
6464
#endif
6565

66-
#if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__DragonFly__)
66+
#if defined(__CYGWIN__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__DragonFly__)
6767
# define FD_DIR "/dev/fd"
6868
#else
6969
# define FD_DIR "/proc/self/fd"

0 commit comments

Comments
 (0)