summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2023-05-05 04:32:28 (GMT)
committerGitHub <noreply@github.com>2023-05-05 04:32:28 (GMT)
commit81902d3ed3c4119a5c4604547fa941f3e3448114 (patch)
treeb71070f703990761dc684e0df0b0892509b06553 /Modules
parentbb4369e15f1335c3842001434e4ae650da9c90d0 (diff)
downloadcpython-81902d3ed3c4119a5c4604547fa941f3e3448114.zip
cpython-81902d3ed3c4119a5c4604547fa941f3e3448114.tar.gz
cpython-81902d3ed3c4119a5c4604547fa941f3e3448114.tar.bz2
[3.11] gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (gh-104129) (gh-104187)
gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (gh-104129)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 613b86f..c825aee 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -169,6 +169,14 @@
# define HAVE_PWRITEV_RUNTIME (pwritev != NULL)
# endif
+# ifdef HAVE_MKFIFOAT
+# define HAVE_MKFIFOAT_RUNTIME (mkfifoat != NULL)
+# endif
+
+# ifdef HAVE_MKNODAT
+# define HAVE_MKNODAT_RUNTIME (mknodat != NULL)
+# endif
+
#endif
#ifdef HAVE_FUTIMESAT