summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-02 20:34:19 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-02 20:34:19 (GMT)
commit7bf22de75356e3e5f91027f0e9746db33b924147 (patch)
treeb3a77ffe676efc6e240eaec4fd49dbd65b9fdd5e /Parser
parent91221c29f285bfd1a0595ee7a5335f6e23e49579 (diff)
downloadcpython-7bf22de75356e3e5f91027f0e9746db33b924147.zip
cpython-7bf22de75356e3e5f91027f0e9746db33b924147.tar.gz
cpython-7bf22de75356e3e5f91027f0e9746db33b924147.tar.bz2
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 7fe6205..1320bd8 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)