diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-17 17:44:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-17 17:44:42 +0100 |
commit | 4f97475d326c2773a78561fb874e4f23c25cbcd9 (patch) | |
tree | 7e066bc70556dfbb415ddb9f364e8432e8aaf189 /src/if_perl.xs | |
parent | 78d21dae9c3a39efb30316d3e38dce120bc1abbd (diff) | |
download | vim-git-4f97475d326c2773a78561fb874e4f23c25cbcd9.tar.gz |
patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r-- | src/if_perl.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs index 67d0b9488..265564075 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -100,7 +100,7 @@ // Work around for ActivePerl 5.20.3+: Avoid generating (g)vim.lib. #if defined(ACTIVEPERL_VERSION) && (ACTIVEPERL_VERSION >= 2003) \ - && defined(WIN32) && defined(USE_DYNAMIC_LOADING) + && defined(MSWIN) && defined(USE_DYNAMIC_LOADING) # undef XS_EXTERNAL # define XS_EXTERNAL(name) XSPROTO(name) #endif @@ -154,7 +154,7 @@ EXTERN_C void boot_DynaLoader(pTHX_ CV*); #if defined(DYNAMIC_PERL) || defined(PROTO) # ifndef DYNAMIC_PERL /* just generating prototypes */ -# ifdef WIN3264 +# ifdef MSWIN typedef int HANDLE; # endif typedef int XSINIT_t; @@ -164,7 +164,7 @@ typedef int XSUBADDR_t; typedef int perl_key; # endif -# ifndef WIN3264 +# ifndef MSWIN # include <dlfcn.h> # define HANDLE void* # define PERL_PROC void* |