summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 16:35:36 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 16:35:36 (GMT)
commitc1cc8ab1a45c9ad29325db18cdb0d1a7a3cb5b66 (patch)
tree9ddb4b5351ae06d8f6cab668b4208da2eda3def0 /Modules/signalmodule.c
parenta78bfe198565e25148b57a58fc5bec01ada8f6ab (diff)
downloadcpython-c1cc8ab1a45c9ad29325db18cdb0d1a7a3cb5b66.zip
cpython-c1cc8ab1a45c9ad29325db18cdb0d1a7a3cb5b66.tar.gz
cpython-c1cc8ab1a45c9ad29325db18cdb0d1a7a3cb5b66.tar.bz2
djgpp fix (SIGMAX).
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index e6d3f19..7ca697a 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -45,7 +45,11 @@ PERFORMANCE OF THIS SOFTWARE.
#endif
#ifndef NSIG
+#ifdef _SIGMAX
#define NSIG (_SIGMAX + 1) /* For QNX */
+#else
+#define NSIG (SIGMAX + 1) /* for djgpp */
+#endif
#endif