diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-03 12:31:48 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-03 12:31:48 +0000 |
commit | ed65db6c6bc1b1e4dbabdf2bae93837e52fa7473 (patch) | |
tree | d9fede651fede49352ccbcf0cf92789a6478c78f /byterun.h | |
parent | 1b95b982db38b55c080b1a1a3872fba1ac114acc (diff) | |
download | perl-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.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 */ |