Обсуждение: pgsql: Allow building with MSVC and Strawberry perl

Поиск
Список
Период
Сортировка

pgsql: Allow building with MSVC and Strawberry perl

От
Andrew Dunstan
Дата:
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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/171c7fffaa4a3f2b000f980ecb33c2f7441a9a03

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