summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-01-26 09:08:36 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-01-26 09:08:36 +0000
commit40f21532465be0e37a9e31bebb47c6e3ff2c6e66 (patch)
tree6f4b5ec31738cc29a83e4517e74c38401132fd40 /plan9
parent0a2b975030c727a0fd1862a37a4bb191fd62d2c7 (diff)
downloadperl-40f21532465be0e37a9e31bebb47c6e3ff2c6e66.tar.gz
Plan 9 compiler can't return quads from the ?: (condop).
(There may be more spots like this, so a Configure test maybe in order, but this works for now.) From Russ Cox. p4raw-id: //depot/perl@18583
Diffstat (limited to 'plan9')
-rw-r--r--plan9/plan9ish.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index 6fb59663f3..3df8bf5621 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -131,4 +131,6 @@
/* For use by POSIX.xs */
extern int tcsendbreak(int, int);
+#define CONDOP_SIZE 4 /* The Plan 9 compiler cannot return quads from ?: */
+
#endif /* __PLAN9ISH_H__ */