]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:34 +0000 (15:37 -0500)
commitae7c5121307d5c8b92b4e0ac63ec2e8635d8c076
tree72b1d3482f5a9a5dc207b551f5a73c86421dcdba
parent9b788aafdc64531388e0f2c0f064e946b8aa6378
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