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)
commit9fe5cff141388316779bcc6662ca2d2cd0e53872
tree722d94a074fd8d65f600cef1aab84dcb42a32753
parent4ec157c15067be979d271416dacf86a5fce34cbc
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