summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 099d386776..fd9d3d730f 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__