summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2018-08-23 13:27:19 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-08-23 13:27:19 (GMT)
commit48ce4897f8f8d91d948ecd1241ffab002df2be9e (patch)
treec07a85ee488b78bf02db2716d2ca7619e370171b /pyconfig.h.in
parent89487f51b8d6ba8a55f5de0ed689e46fefe73cc9 (diff)
downloadcpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.zip
cpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.tar.gz
cpython-48ce4897f8f8d91d948ecd1241ffab002df2be9e.tar.bz2
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 d80ddc0..a82c373 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