diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-11-16 12:03:04 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-11-16 12:03:04 -0500 |
commit | ff2d4356f8b18f5489e5d7b1f8b4b5357d088c8c (patch) | |
tree | d99facdccacffc13c1b124949c037500b8f8c92d /src/backend/executor/execParallel.c | |
parent | 98d54bb7790d5fb0a77173d5e5e3c655901b472c (diff) | |
download | postgresql-ff2d4356f8b18f5489e5d7b1f8b4b5357d088c8c.tar.gz postgresql-ff2d4356f8b18f5489e5d7b1f8b4b5357d088c8c.zip |
Define _WINSOCK_DEPRECATED_NO_WARNINGS in all MSVC builds.
Commit 0fb54de9a thought that this was only needed in VS2015 and later,
but buildfarm member woodlouse shows that at least VS2013 whines as
well. Let's just define it regardless of MSVC version; it should be
harmless enough in older releases.
Also, in the wake of ed9b3606d, it seems better to put it in win32_port.h
where <winsock2.h> is included.
Since this is only suppressing a pedantic compiler warning, I don't
feel a need for a back-patch.
Discussion: https://postgr.es/m/20124.1510850225@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions