mirror of https://github.com/python/cpython.git
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:
parent
4563769be9
commit
f37f37dec0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue