summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-12-04 00:24:33 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-12-04 00:24:33 +0000
commitb4748376b6239962bd75b743e5a7b14788a2970c (patch)
tree907a40434ab371b6576e819e50959e6322d63845 /toke.c
parentadb71456d0ff53391c88789f315f1e66b14373d5 (diff)
downloadperl-b4748376b6239962bd75b743e5a7b14788a2970c.tar.gz
Quieten some noise in Win32 builds:
- win32.h is included after <sys/socket.h>, so need to set Win32SCK_IS_STDSCK earlier to avoid re-defined noise in XSUB.h - GCC (& MSVC?) have execv(...,const char *const *) so need a cast from char **. p4raw-id: //depot/perlio@7971
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 0c803d44c7..aa3e64b55f 100644
--- a/toke.c
+++ b/toke.c
@@ -2718,7 +2718,7 @@ Perl_yylex(pTHX)
else
newargv = PL_origargv;
newargv[0] = ipath;
- PerlProc_execv(ipath, newargv);
+ PerlProc_execv(ipath, EXEC_ARGV_CAST(newargv));
Perl_croak(aTHX_ "Can't exec %s", ipath);
}
#endif