summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-11 23:08:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-11 23:08:54 +0000
commite7cd54d7e2bd82a89f30e2f71675be1f5d3be34d (patch)
treef6873b8c4849ed68422779287f972403412a3412 /perl.h
parent1d64a758d60d7ded97c59c753fea85d3365ca0df (diff)
parent004955206412e3e53b76d4dad6bc7ac3032c300a (diff)
downloadperl-e7cd54d7e2bd82a89f30e2f71675be1f5d3be34d.tar.gz
Initial (untested) integration of mainline changes.
p4raw-id: //depot/win32/perl@234
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index d8e69b67e5..dde502fd64 100644
--- a/perl.h
+++ b/perl.h
@@ -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;