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:28:38 +0000 (15:28 -0500)
commit341f4e002d461a3c5513cb864490cddae2b43a64
treeab3ddd73166dae19c246f90d970f7d67b325ea64
parentd94f29cb8910a380caa795f56e69ed036fb8c5d0
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