diff options
author | David CARLIER <devnexen@gmail.com> | 2021-09-11 08:46:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 08:46:22 (GMT) |
commit | 5f5b7d0c654488206ac13e27d9a5dcffbd2cc0af (patch) | |
tree | 16380d83e75a66b69d6344746ed7f1811f99ca20 /Modules | |
parent | b74c819fab86bedc9b962ea42cfb9b5893fd2dda (diff) | |
download | cpython-5f5b7d0c654488206ac13e27d9a5dcffbd2cc0af.zip cpython-5f5b7d0c654488206ac13e27d9a5dcffbd2cc0af.tar.gz cpython-5f5b7d0c654488206ac13e27d9a5dcffbd2cc0af.tar.bz2 |
bpo-45163: Haiku build fix. (GH-28269)
linkage issues mainly for shared libs and missing system library,
also little nit into the signal extension as strsignal returns
a constant in this platform.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 243c8c8..fc58cfd 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -611,7 +611,7 @@ static PyObject * signal_strsignal_impl(PyObject *module, int signalnum) /*[clinic end generated code: output=44e12e1e3b666261 input=b77914b03f856c74]*/ { - char *res; + const char *res; if (signalnum < 1 || signalnum >= NSIG) { PyErr_SetString(PyExc_ValueError, |