Mercurial > vim
changeset 22762:5608a4144188 v8.2.1929
patch 8.2.1929: MS-Windows: problem loading Perl 5.32
Commit: https://github.com/vim/vim/commit/0289065e41ce3148f929e16a55aa3b161c80576f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 31 13:05:11 2020 +0100
patch 8.2.1929: MS-Windows: problem loading Perl 5.32
Problem: MS-Windows: problem loading Perl 5.32.
Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes https://github.com/vim/vim/issues/7234)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Oct 2020 13:15:04 +0100 |
parents | 7aa62600a2cb |
children | af49741c66b4 |
files | src/if_perl.xs src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -44,12 +44,13 @@ # define PERL_NO_INLINE_FUNCTIONS #endif -/* Work around for using MSVC and ActivePerl 5.18. */ #ifdef _MSC_VER +// Work around for using MSVC and ActivePerl 5.18. # define __inline__ __inline - // Work around for using MSVC and Strawberry Perl 5.30. # define __builtin_expect(expr, val) (expr) +// Work around for using MSVC and Strawberry Perl 5.32. +# define NO_THREAD_SAFE_LOCALE #endif #ifdef __GNUC__