]> granicus.if.org Git - postgresql/commit
Suppress some compiler warnings in plperl on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 20:00:54 +0000 (16:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 May 2018 20:00:54 +0000 (16:00 -0400)
commit0996e4be047fbf476dacea5ffad42cdd3a36b731
treeada5d0078c4f53e01f86f144a4e37798d0d33bdc
parentfbb2e9a030ee7a3fa20ce402e4b1da9809b4eb52
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
src/pl/plperl/plperl.h