Skip to content

Commit

Permalink
pythongh-104106: Add gcc fallback of mkfifoat/mknodat for macOS (pyth…
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed May 5, 2023
1 parent bb4369e commit a2b8d23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add gcc fallback of mkfifoat/mknodat for macOS. Patch by Dong-hee Na.
8 changes: 8 additions & 0 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2b8d23

Please sign in to comment.