From: Anthony Baxter Date: Thu, 31 Jul 2003 10:35:29 +0000 (+0000) Subject: Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c X-Git-Tag: v2.4a1~1814 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f37f37dec06cb2f30ce3ba0e6e2ae9b140767b65;p=python Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c Trivial patch, and the alternative is to guess at the right values based on platform... --- diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index e278dd1b3b..1b24cc95b8 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -541,6 +541,16 @@ initsignal(void) PyDict_SetItemString(d, "SIGXFSZ", x); Py_XDECREF(x); #endif +#ifdef SIGRTMIN + x = PyInt_FromLong(SIGRTMIN); + PyDict_SetItemString(d, "SIGRTMIN", x); + Py_XDECREF(x); +#endif +#ifdef SIGRTMAX + x = PyInt_FromLong(SIGRTMAX); + PyDict_SetItemString(d, "SIGRTMAX", x); + Py_XDECREF(x); +#endif #ifdef SIGINFO x = PyInt_FromLong(SIGINFO); PyDict_SetItemString(d, "SIGINFO", x);