- Notifications
You must be signed in to change notification settings - Fork28
Commitff2d435
committed
Define _WINSOCK_DEPRECATED_NO_WARNINGS in all MSVC builds.
Commit0fb54de thought that this was only needed in VS2015 and later,but buildfarm member woodlouse shows that at least VS2013 whines aswell. Let's just define it regardless of MSVC version; it should beharmless enough in older releases.Also, in the wake ofed9b360, it seems better to put it in win32_port.hwhere <winsock2.h> is included.Since this is only suppressing a pedantic compiler warning, I don'tfeel a need for a back-patch.Discussion:https://postgr.es/m/20124.1510850225@sss.pgh.pa.us1 parent98d54bb commitff2d435
2 files changed
+8
-3
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 | 18 |
| |
21 | 19 |
| |
22 |
| - | |
23 | 20 |
| |
24 | 21 |
| |
25 | 22 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 |
| |
31 | 39 |
| |
32 | 40 |
| |
|
0 commit comments
Comments
(0)