pgsql: Allow building with MSVC and Strawberry perl - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Allow building with MSVC and Strawberry perl
Date
Msg-id E1oyfT5-000o2o-C9@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Allow building with MSVC and Strawberry perl
List pgsql-committers
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/341f4e002d461a3c5513cb864490cddae2b43a64

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Correct some SQL feature names
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Allow building with MSVC and Strawberry perl