summaryrefslogtreecommitdiff
path: root/win32/win32.h
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 /win32/win32.h
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 'win32/win32.h')
-rw-r--r--win32/win32.h2
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 */