aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2018-08-23 15:27:19 +0200
committerBerker Peksag <berker.peksag@gmail.com>2018-08-23 16:27:19 +0300
commit48ce4897f8f8d91d948ecd1241ffab002df2be9e (patch)
treec07a85ee488b78bf02db2716d2ca7619e370171b /pyconfig.h.in
parentbpo-34207: Fix pymain_read_conf() for UTF-8 Mode (GH-8868) (diff)
downloadcpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.tar.gz
cpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.tar.bz2
cpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.zip
bpo-34412: Make signal.strsignal() work on HP-UX (GH-8786)
Introduce a configure check for strsignal(3) which defines HAVE_STRSIGNAL for signalmodule.c. Add some common signals on HP-UX. This change applies for Windows and HP-UX.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index d80ddc0dc2e..a82c3737c3c 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -984,6 +984,9 @@
/* Define to 1 if you have the <stropts.h> header file. */
#undef HAVE_STROPTS_H
+/* Define to 1 if you have the `strsignal' function. */
+#undef HAVE_STRSIGNAL
+
/* Define to 1 if `pw_gecos' is a member of `struct passwd'. */
#undef HAVE_STRUCT_PASSWD_PW_GECOS