diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-11 23:08:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-11 23:08:54 +0000 |
commit | e7cd54d7e2bd82a89f30e2f71675be1f5d3be34d (patch) | |
tree | f6873b8c4849ed68422779287f972403412a3412 /perl.h | |
parent | 1d64a758d60d7ded97c59c753fea85d3365ca0df (diff) | |
parent | 004955206412e3e53b76d4dad6bc7ac3032c300a (diff) | |
download | perl-e7cd54d7e2bd82a89f30e2f71675be1f5d3be34d.tar.gz |
Initial (untested) integration of mainline changes.
p4raw-id: //depot/win32/perl@234
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -462,6 +462,14 @@ register struct op *op asm(stringify(OP_IN_REGISTER)); # define SETERRNO(errcode,vmserrcode) errno = (errcode) #endif +#ifdef USE_THREADS +# define ERRSV (thr->errsv) +# define ERRHV (thr->errhv) +#else +# define ERRSV GvSV(errgv) +# define ERRHV GvHV(errgv) +#endif /* USE_THREADS */ + #ifndef errno extern int errno; /* ANSI allows errno to be an lvalue expr */ #endif @@ -1870,8 +1878,7 @@ IEXT I32 Imaxscream IINIT(-1); IEXT SV * Ilastscream; /* shortcuts to misc objects */ -IEXT HV * Ierrhv; -IEXT SV * Ierrsv; +IEXT GV * Ierrgv; /* shortcuts to debugging objects */ IEXT GV * IDBgv; |