]> 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:33 +0000 (15:37 -0500)
commitf76191fd994aa1e49110b496f6c7119052118dee
tree540592357b71a03607d92491c7c9d6a372f2010a
parente52245228ecf3a58b031c820332bc56478bb1ba2
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