Skip to content

Commit f340f97

Browse files
committed
mstcpip.h is not missing on MinGW.
Remove a small difference between MinGW and MSVC builds which isn't needed for modern MinGW, noticed in passing. Discussion: https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
1 parent 2492fe4 commit f340f97

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/backend/libpq/pqcomm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#include <netinet/in.h>
7070
#include <netinet/tcp.h>
7171
#include <utime.h>
72-
#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
72+
#ifdef WIN32
7373
#include <mstcpip.h>
7474
#endif
7575

src/interfaces/libpq/fe-connect.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
#endif
4545
#define near
4646
#include <shlobj.h>
47-
#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
4847
#include <mstcpip.h>
49-
#endif
5048
#else
5149
#include <sys/socket.h>
5250
#include <netdb.h>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy