summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-13 14:13:30 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-13 14:13:30 +0000
commitc09156bb55f832ab6700e99026187942841f0ae4 (patch)
treef66ff50686e3fd8401b4d531089c099bf3656035 /perl.c
parent004955206412e3e53b76d4dad6bc7ac3032c300a (diff)
downloadperl-c09156bb55f832ab6700e99026187942841f0ae4.tar.gz
Change CONTEXT to PERL_CONTEXT throughout source (since the #define
to avoid the Digital UNIX clash no longer works). Changed the #ifdef in pp_sys.c for whether getnet* function get protoyped (since the default had a broken prototype for getnetbyaddr). p4raw-id: //depot/perl@247
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl.c b/perl.c
index 7264648fbf..bb08c6a51f 100644
--- a/perl.c
+++ b/perl.c
@@ -1226,7 +1226,7 @@ perl_call_sv(SV *sv, I32 flags)
markstack_ptr--;
/* we're trying to emulate pp_entertry() here */
{
- register CONTEXT *cx;
+ register PERL_CONTEXT *cx;
I32 gimme = GIMME_V;
ENTER;
@@ -1294,7 +1294,7 @@ perl_call_sv(SV *sv, I32 flags)
SV **newsp;
PMOP *newpm;
I32 gimme;
- register CONTEXT *cx;
+ register PERL_CONTEXT *cx;
I32 optype;
POPBLOCK(cx,newpm);
@@ -2448,8 +2448,8 @@ init_stacks(ARGSproto)
stack_sp = stack_base;
stack_max = stack_base + 127;
- cxstack_max = 8192 / sizeof(CONTEXT) - 2; /* Use most of 8K. */
- New(50,cxstack,cxstack_max + 1,CONTEXT);
+ cxstack_max = 8192 / sizeof(PERL_CONTEXT) - 2; /* Use most of 8K. */
+ New(50,cxstack,cxstack_max + 1,PERL_CONTEXT);
cxstack_ix = -1;
New(50,tmps_stack,128,SV*);
@@ -2986,7 +2986,7 @@ static void
my_exit_jump(void)
{
dTHR;
- register CONTEXT *cx;
+ register PERL_CONTEXT *cx;
I32 gimme;
SV **newsp;