summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-31 13:05:11 +0100
committerBram Moolenaar <Bram@vim.org>2020-10-31 13:05:11 +0100
commit0289065e41ce3148f929e16a55aa3b161c80576f (patch)
tree1dc1359a380d567b437484fba740d2375104b2a7 /src/if_perl.xs
parentcd030c4b604bea92311e9c418aefe5143dee9201 (diff)
patch 8.2.1929: MS-Windows: problem loading Perl 5.32v8.2.1929
Problem: MS-Windows: problem loading Perl 5.32. Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index e54a79d2b3..999dff50ec 100644
--- 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__