]> 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)
commit171c7fffaa4a3f2b000f980ecb33c2f7441a9a03
tree94e6b74995c3ed7aebf71708dc85d9afe7951a78
parentaa9d916f671de1decdc3978b952ed0ab2670d2ed
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