From 766fb0d2b24c48545fa9fc9134b0843802223d64 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Thu, 22 Jul 2010 11:34:16 +0200
Subject: [PATCH] Fix building with Perl on Windows with MingW. (James Vega)

---
 src/if_perl.xs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/if_perl.xs b/src/if_perl.xs
index 636e704c34..a3dc4fe5b5 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 <dlfcn.h>
 #define HANDLE void*
 #define PERL_PROC void*
-- 
GitLab