From: Bram Moolenaar Date: Thu, 22 Jul 2010 09:34:16 +0000 (+0200) Subject: Fix building with Perl on Windows with MingW. (James Vega) X-Git-Tag: v7.3~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=766fb0d2b24c48545fa9fc9134b0843802223d64;p=vim Fix building with Perl on Windows with MingW. (James Vega) --- diff --git a/src/if_perl.xs b/src/if_perl.xs index 636e704c3..a3dc4fe5b 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -89,7 +89,7 @@ EXTERN_C void boot_DynaLoader __ARGS((pTHX_ CV*)); #if defined(DYNAMIC_PERL) || defined(PROTO) #ifndef DYNAMIC_PERL /* just generating prototypes */ -#ifdef _MSWIN +#ifdef WIN3264 typedef int HANDLE; #endif typedef int XSINIT_t; @@ -97,7 +97,7 @@ typedef int XSUBADDR_t; typedef int perl_key; #endif -#ifndef _MSWIN +#ifndef WIN3264 #include #define HANDLE void* #define PERL_PROC void*