From 82031177cbe372a82e98d0495a0c0d730c71a2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 12 Jan 2002 11:43:25 +0000 Subject: Export SIGINFO. Fixes #502077. --- Modules/signalmodule.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Modules') diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 1053cf1cf2..e34f051398 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -543,6 +543,11 @@ initsignal(void) x = PyInt_FromLong(SIGXFSZ); PyDict_SetItemString(d, "SIGXFSZ", x); Py_XDECREF(x); +#endif +#ifdef SIGINFO + x = PyInt_FromLong(SIGINFO); + PyDict_SetItemString(d, "SIGINFO", x); + Py_XDECREF(x); #endif if (!PyErr_Occurred()) return; -- cgit v1.2.1