pgsql: Suppress some compiler warnings in plperl on Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress some compiler warnings in plperl on Windows.
Date: 2018-05-02 20:00:59
Message-ID: E1fDxvv-0003Gw-Vc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress some compiler warnings in plperl on Windows.

Perl's XSUB.h header defines macros to replace libc functions. Our header
port_win32.h does something similar earlier, so XSUB.h causes compiler
warnings about macro redefinition. Undefine our macros before including
XSUB.h.

Thomas Munro

Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0996e4be047fbf476dacea5ffad42cdd3a36b731

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-05-02 20:02:08 pgsql: Prevent NaN in jsonb/plpython transform
Previous Message Tom Lane 2018-05-02 19:53:14 pgsql: Fix assorted compiler warnings seen in the buildfarm.