Thread: pgsql: Allow building with MSVC and Strawberry perl

pgsql: Allow building with MSVC and Strawberry perl

From
Andrew Dunstan
Date:
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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fed54fc9a5819d43ab60518306925c38f5e2bc43

Modified Files
--------------
src/pl/plperl/plperl.h | 2 ++
1 file changed, 2 insertions(+)