From f37f37dec06cb2f30ce3ba0e6e2ae9b140767b65 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Thu, 31 Jul 2003 10:35:29 +0000 Subject: Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c Trivial patch, and the alternative is to guess at the right values based on platform... --- Modules/signalmodule.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index e278dd1..1b24cc9 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); -- cgit v0.12