Suppress some compiler warnings in plperl on Windows.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0996e4be047fbf476dacea5ffad42cdd3a36b731
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-05-02T20:00:54Z
Releases: 11.0
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

Files

PathChange+/−
src/pl/plperl/plperl.h modified +25 −0

Discussion