Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c

Trivial patch, and the alternative is to guess at the right values
based on platform...
This commit is contained in:
Anthony Baxter 2003-07-31 10:35:29 +00:00
parent 4563769be9
commit f37f37dec0

View file

@ -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);