summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>2022-05-05 16:04:44 (GMT)
committerGitHub <noreply@github.com>2022-05-05 16:04:44 (GMT)
commitae553b3561f0f8e1fed454bbbd55073e4ba711eb (patch)
treeb97ceb53c17e60eca6c5d2141a867845060d5458 /pyconfig.h.in
parent42fee931d055a3ef8ed31abe44603b9b2856e04d (diff)
downloadcpython-ae553b3561f0f8e1fed454bbbd55073e4ba711eb.zip
cpython-ae553b3561f0f8e1fed454bbbd55073e4ba711eb.tar.gz
cpython-ae553b3561f0f8e1fed454bbbd55073e4ba711eb.tar.bz2
bpo-41818: Add os.login_tty() for *nix. (#29658)
* Add `os.login_tty(fd)` for Unix. Reviewed-by: Christian Heimes <christian@python.org> Signed-off-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 4ac054a..383fd47 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -721,6 +721,9 @@
/* Define to 1 if you have the `log2' function. */
#undef HAVE_LOG2
+/* Define to 1 if you have the `login_tty' function. */
+#undef HAVE_LOGIN_TTY
+
/* Define to 1 if the system has the type `long double'. */
#undef HAVE_LONG_DOUBLE
@@ -1389,6 +1392,9 @@
/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
+/* Define to 1 if you have the <utmp.h> header file. */
+#undef HAVE_UTMP_H
+
/* Define to 1 if you have the `uuid_create' function. */
#undef HAVE_UUID_CREATE