From: Martin v. Löwis Date: Sat, 12 Jan 2002 11:43:25 +0000 (+0000) Subject: Export SIGINFO. Fixes #502077. X-Git-Tag: v2.3c1~6852 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=175af2574fca090361f04628e9b6694ba3797f3b;p=python Export SIGINFO. Fixes #502077. --- diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 1053cf1cf2..e34f051398 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -543,6 +543,11 @@ initsignal(void) x = PyInt_FromLong(SIGXFSZ); PyDict_SetItemString(d, "SIGXFSZ", x); Py_XDECREF(x); +#endif +#ifdef SIGINFO + x = PyInt_FromLong(SIGINFO); + PyDict_SetItemString(d, "SIGINFO", x); + Py_XDECREF(x); #endif if (!PyErr_Occurred()) return;