[Python-checkins] [3.11] gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (gh-104129) (gh-104187)

corona10 webhook-mailer at python.org
Fri May 5 00:32:35 EDT 2023


https://github.com/python/cpython/commit/81902d3ed3c4119a5c4604547fa941f3e3448114
commit: 81902d3ed3c4119a5c4604547fa941f3e3448114
branch: 3.11
author: Dong-hee Na <donghee.na at python.org>
committer: corona10 <donghee.na92 at gmail.com>
date: 2023-05-05T04:32:28Z
summary:

[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)

files:
A Misc/NEWS.d/next/Build/2023-05-04-10-56-14.gh-issue-104106.-W9BJS.rst
M Modules/posixmodule.c

diff --git a/Misc/NEWS.d/next/Build/2023-05-04-10-56-14.gh-issue-104106.-W9BJS.rst b/Misc/NEWS.d/next/Build/2023-05-04-10-56-14.gh-issue-104106.-W9BJS.rst
new file mode 100644
index 000000000000..900e5bd61d60
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-05-04-10-56-14.gh-issue-104106.-W9BJS.rst
@@ -0,0 +1 @@
+Add gcc fallback of mkfifoat/mknodat for macOS. Patch by Dong-hee Na.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 613b86f09c9e..c825aeedcf08 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



More information about the Python-checkins mailing list