summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-31 15:39:41 (GMT)
committerGitHub <noreply@github.com>2022-07-31 15:39:41 (GMT)
commitdb13c0c1b8bc8c15d920a94ca008aabea4037697 (patch)
tree88b24924603fcffab9c1be7005c4622ba67e7a14 /PC
parentc7ac8b65884a79e6a976811bca10527613b1396a (diff)
downloadcpython-db13c0c1b8bc8c15d920a94ca008aabea4037697.zip
cpython-db13c0c1b8bc8c15d920a94ca008aabea4037697.tar.gz
cpython-db13c0c1b8bc8c15d920a94ca008aabea4037697.tar.bz2
[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index f71d5fe..f1673a1 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -681,6 +681,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define if you have the 'inet_pton' function. */
#define HAVE_INET_PTON 1
+/* Define to 1 if you have the `dup' function. */
+#define HAVE_DUP 1
+
/* framework name */
#define _PYTHONFRAMEWORK ""