Allow building with MSVC and Strawberry perl

Andrew Dunstan <andrew@dunslane.net>

Commit: f76191fd994aa1e49110b496f6c7119052118dee
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-11-25T20:37:33Z
Releases: 14.7
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