0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Fix building with Perl on Windows with MingW. (James Vega)

This commit is contained in:
Bram Moolenaar
2010-07-22 11:34:16 +02:00
parent c89533b525
commit 766fb0d2b2

View File

@@ -89,7 +89,7 @@ EXTERN_C void boot_DynaLoader __ARGS((pTHX_ CV*));
#if defined(DYNAMIC_PERL) || defined(PROTO) #if defined(DYNAMIC_PERL) || defined(PROTO)
#ifndef DYNAMIC_PERL /* just generating prototypes */ #ifndef DYNAMIC_PERL /* just generating prototypes */
#ifdef _MSWIN #ifdef WIN3264
typedef int HANDLE; typedef int HANDLE;
#endif #endif
typedef int XSINIT_t; typedef int XSINIT_t;
@@ -97,7 +97,7 @@ typedef int XSUBADDR_t;
typedef int perl_key; typedef int perl_key;
#endif #endif
#ifndef _MSWIN #ifndef WIN3264
#include <dlfcn.h> #include <dlfcn.h>
#define HANDLE void* #define HANDLE void*
#define PERL_PROC void* #define PERL_PROC void*