]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (gh-104129) (gh...
authorDong-hee Na <donghee.na@python.org>
Fri, 5 May 2023 04:32:28 +0000 (13:32 +0900)
committerGitHub <noreply@github.com>
Fri, 5 May 2023 04:32:28 +0000 (04:32 +0000)
gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (gh-104129)

Misc/NEWS.d/next/Build/2023-05-04-10-56-14.gh-issue-104106.-W9BJS.rst [new file with mode: 0644]
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 (file)
index 0000000..900e5bd
--- /dev/null
@@ -0,0 +1 @@
+Add gcc fallback of mkfifoat/mknodat for macOS. Patch by Dong-hee Na.
index 613b86f09c9eaf22b00ddcf6a07a45707c6a81b0..c825aeedcf085d0197be9c00450d208b73605bba 100644 (file)
 #    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