From 6b7bf01e4a6c31ba0d0293bfa67304d7548f94d0 Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Wed, 15 Apr 2026 00:10:03 +0200 Subject: [PATCH] gh-148575: Use the right entry to read the set of file descriptors on CYGWIN This patch fixes issue #148575. --- Modules/_posixsubprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c index b7f39ea3d499e4..9867f077faef7a 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -63,7 +63,7 @@ # endif #endif -#if defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__DragonFly__) +#if defined(__CYGWIN__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__DragonFly__) # define FD_DIR "/dev/fd" #else # define FD_DIR "/proc/self/fd"