Allow building with MSVC and Strawberry perl

Andrew Dunstan <andrew@dunslane.net>

Commit: ae7c5121307d5c8b92b4e0ac63ec2e8635d8c076
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-11-25T20:37:34Z
Releases: 11.19
Allow building with MSVC and Strawberry perl

Strawberry uses __builtin_expect which Visual C doesn't have. For this
case define it as a noop. Solution taken from vim sources.

Backpatch to all live branches

Files

PathChange+/−
src/pl/plperl/plperl.h modified +2 −0