Allow building with MSVC and Strawberry perl
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 25 Nov 2022 20:28:38 +0000 (15:28 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 25 Nov 2022 20:37:33 +0000 (15:37 -0500)
commitfed54fc9a5819d43ab60518306925c38f5e2bc43
treeff8be4c8c8a9a5bdec6148d6e0fde16bf9cae3ed
parent04d61bfe64c9098aa737d0bea428b46a46b358bb
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
src/pl/plperl/plperl.h