pgsql: Suppress some compiler warnings in plperl on Windows.

Started by Tom Laneabout 8 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/CAEepm=3=TDYEXUEcHpEx+Twc31wo7PA0oBAiNt6sWmq93MW02A@mail.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(+)