diff --git a/src/pl/plperl/plperl.h b/src/pl/plperl/plperl.h index 16186fc5293..f71119b82b3 100644 --- a/src/pl/plperl/plperl.h +++ b/src/pl/plperl/plperl.h @@ -41,6 +41,8 @@ */ #ifdef _MSC_VER #define __inline__ inline +/* Work around for using MSVC and Strawberry Perl >= 5.30. */ +#define __builtin_expect(expr, val) (expr) #endif /*