diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-12-04 00:24:33 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-12-04 00:24:33 +0000 |
commit | b4748376b6239962bd75b743e5a7b14788a2970c (patch) | |
tree | 907a40434ab371b6576e819e50959e6322d63845 /toke.c | |
parent | adb71456d0ff53391c88789f315f1e66b14373d5 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |