summaryrefslogtreecommitdiff
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-22 11:34:16 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-22 11:34:16 +0200
commit766fb0d2b24c48545fa9fc9134b0843802223d64 (patch)
tree6bc5b23fe1fbba5f41b91e42a2b90c2a8e272107 /src/if_perl.xs
parentc89533b525843b7fa496039e2edf4ef9e0f31ae3 (diff)
downloadvim-git-766fb0d2b24c48545fa9fc9134b0843802223d64.tar.gz
Fix building with Perl on Windows with MingW. (James Vega)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs4
1 files changed, 2 insertions, 2 deletions
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 <dlfcn.h>
#define HANDLE void*
#define PERL_PROC void*