summaryrefslogtreecommitdiffstats
path: root/Parser/intrcheck.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-02 06:34:14 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-02 06:34:14 (GMT)
commit48a680c097f0e53a4cdcd61fbed35e1b6c1de388 (patch)
treecc051327ef0eed1c29775ccc3ab39059eb943a19 /Parser/intrcheck.c
parent1ca8bb374eeee89d5f1a3789d804f49ec07836ee (diff)
downloadcpython-48a680c097f0e53a4cdcd61fbed35e1b6c1de388.zip
cpython-48a680c097f0e53a4cdcd61fbed35e1b6c1de388.tar.gz
cpython-48a680c097f0e53a4cdcd61fbed35e1b6c1de388.tar.bz2
RISCOS changes by dschwertberger.
Diffstat (limited to 'Parser/intrcheck.c')
-rw-r--r--Parser/intrcheck.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index 4c11e4c..686e030 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -137,7 +137,11 @@ intcatcher(int sig)
case 0:
break;
case 1:
+#ifdef RISCOS
+ fprintf(stderr, message);
+#else
write(2, message, strlen(message));
+#endif
break;
case 2:
interrupted = 0;