summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
commit8e9ebfd337f18f7b707853a3f2f49cc6245c0596 (patch)
treefe6a0f373d376dede8ad635c250ab83c19965a3f /Modules/signalmodule.c
parentc0b93191e6e12fb391461545031808f74a8ae956 (diff)
downloadcpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.zip
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.gz
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.bz2
os2 patch by Jeff Rush
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index e91c3cb..175f6eb 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -50,6 +50,11 @@ PERFORMANCE OF THIS SOFTWARE.
#define SIG_ERR ((RETSIGTYPE (*)())-1)
#endif
+#if defined(PYOS_OS2)
+#define NSIG 12
+#include <process.h>
+#endif
+
#ifndef NSIG
#ifdef _SIGMAX
#define NSIG (_SIGMAX + 1) /* For QNX */