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 /win32/win32.h | |
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 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index c75566f0a3..1640564a65 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -554,5 +554,7 @@ EXTERN_C _CRTIMP ioinfo* __pioinfo[]; */ #include "win32iop.h" +#define EXEC_ARGV_CAST(x) ((const char *const *) x) + #endif /* _INC_WIN32_PERL5 */ |