diff options
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 9e7f239644..5a9141933a 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -435,10 +435,18 @@ initsignal() x = PyInt_FromLong(SIGCPU); PyDict_SetItemString(d, "SIGCPU", x); #endif +#ifdef SIGXCPU + x = PyInt_FromLong(SIGXCPU); + PyDict_SetItemString(d, "SIGXCPU", x); +#endif #ifdef SIGFSZ x = PyInt_FromLong(SIGFSZ); PyDict_SetItemString(d, "SIGFSZ", x); #endif +#ifdef SIGXFSZ + x = PyInt_FromLong(SIGXFSZ); + PyDict_SetItemString(d, "SIGXFSZ", x); +#endif /* Check for errors */ if (PyErr_Occurred()) Py_FatalError("can't initialize module signal"); |