summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-02 20:34:19 +0000
committerGuido van Rossum <guido@python.org>1997-12-02 20:34:19 +0000
commitf334d3cdd15c3d0dfb32ffcac3a409adcfbb96ec (patch)
tree9fc3d70aed53219344ea2ef830dbd9a313d4944f /Parser
parent344d07ffc4f2cf380d4cb698fad93168d22cf88c (diff)
downloadcpython-f334d3cdd15c3d0dfb32ffcac3a409adcfbb96ec.tar.gz
Patch for QNX, by Chris Herborth.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/intrcheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index 7fe6205f44..1320bd8f20 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -64,7 +64,7 @@ PyOS_InterruptOccurred()
#endif /* QUICKWIN */
-#ifdef _M_IX86
+#if defined(_M_IX86) && !defined(__QNX__)
#include <io.h>
#endif
@@ -160,7 +160,7 @@ extern int PyErr_CheckSignals();
/* ARGSUSED */
static RETSIGTYPE
-#ifdef _M_IX86
+#if defined(_M_IX86) && !defined(__QNX__)
intcatcher(int sig) /* So the C compiler shuts up */
#else /* _M_IX86 */
intcatcher(sig)