summaryrefslogtreecommitdiff
path: root/byterun.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-03 12:31:48 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-03 12:31:48 +0000
commited65db6c6bc1b1e4dbabdf2bae93837e52fa7473 (patch)
treed9fede651fede49352ccbcf0cf92789a6478c78f /byterun.h
parent1b95b982db38b55c080b1a1a3872fba1ac114acc (diff)
downloadperl-ed65db6c6bc1b1e4dbabdf2bae93837e52fa7473.tar.gz
Make compiler build/work with devel 5.005
p4raw-id: //depot/perlext/Compiler@50
Diffstat (limited to 'byterun.h')
-rw-r--r--byterun.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/byterun.h b/byterun.h
index fee8eda438..b8c557ccbb 100644
--- a/byterun.h
+++ b/byterun.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996 Malcolm Beattie
+ * Copyright (c) 1996, 1997 Malcolm Beattie
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -21,6 +21,13 @@ void byterun _((struct bytestream));
void byterun _((FILE *));
#endif /* INDIRECT_BGET_MACROS */
+#ifndef PATCHLEVEL
+#include "patchlevel.h"
+#endif
+#if PATCHLEVEL < 4 || (PATCHLEVEL == 4 && SUBVERSION < 50)
+#define dTHR extern int errno
+#endif
+
enum {
INSN_RET, /* 0 */
INSN_LDSV, /* 1 */