summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-13 08:46:04 (GMT)
committerGitHub <noreply@github.com>2022-01-13 08:46:04 (GMT)
commita6ca8eee2254762422f90cf94fbaac34f85db780 (patch)
tree6017b6edc8445b18afc5ec23c5e75a4bdb983ba5 /PC/pyconfig.h
parent1de60155d5d01be2924e72fb68dd13d4fd00acd7 (diff)
downloadcpython-a6ca8eee2254762422f90cf94fbaac34f85db780.zip
cpython-a6ca8eee2254762422f90cf94fbaac34f85db780.tar.gz
cpython-a6ca8eee2254762422f90cf94fbaac34f85db780.tar.bz2
bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index e0d875a..e8649be 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -529,6 +529,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define if you have times. */
/* #undef HAVE_TIMES */
+/* Define to 1 if you have the `umask' function. */
+#define HAVE_UMASK 1
+
/* Define if you have uname. */
/* #undef HAVE_UNAME */