patch 8.2.0094: MS-Windows: cannot build with Strawberry Perl 5.30
Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
Solution: Define __builtin_expect() as a workaround. (Ken Takata,
closes #5267)
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 099d386..fd9d3d7 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -47,6 +47,9 @@
/* Work around for using MSVC and ActivePerl 5.18. */
#ifdef _MSC_VER
# define __inline__ __inline
+
+// Work around for using MSVC and Strawberry Perl 5.30.
+# define __builtin_expect(expr, val) (expr)
#endif
#ifdef __GNUC__