Allow building with MSVC and Strawberry perl

Andrew Dunstan <andrew@dunslane.net>

Commit: 341f4e002d461a3c5513cb864490cddae2b43a64
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-11-25T20:28:38Z
Releases: 16.0
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