comparison src/if_perl.xs @ 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 36af5cb8413c
children 5fbb271b35e0
comparison
equal deleted inserted replaced
22761:7aa62600a2cb 22762:5608a4144188
42 * include it after Perl_sv_free2 is defined. */ 42 * include it after Perl_sv_free2 is defined. */
43 #ifdef DYNAMIC_PERL 43 #ifdef DYNAMIC_PERL
44 # define PERL_NO_INLINE_FUNCTIONS 44 # define PERL_NO_INLINE_FUNCTIONS
45 #endif 45 #endif
46 46
47 /* Work around for using MSVC and ActivePerl 5.18. */
48 #ifdef _MSC_VER 47 #ifdef _MSC_VER
48 // Work around for using MSVC and ActivePerl 5.18.
49 # define __inline__ __inline 49 # define __inline__ __inline
50
51 // Work around for using MSVC and Strawberry Perl 5.30. 50 // Work around for using MSVC and Strawberry Perl 5.30.
52 # define __builtin_expect(expr, val) (expr) 51 # define __builtin_expect(expr, val) (expr)
52 // Work around for using MSVC and Strawberry Perl 5.32.
53 # define NO_THREAD_SAFE_LOCALE
53 #endif 54 #endif
54 55
55 #ifdef __GNUC__ 56 #ifdef __GNUC__
56 # pragma GCC diagnostic push 57 # pragma GCC diagnostic push
57 # pragma GCC diagnostic ignored "-Wunused-variable" 58 # pragma GCC diagnostic ignored "-Wunused-variable"