summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorThomas Munro2022-08-18 04:21:24 +0000
committerThomas Munro2022-08-18 04:31:11 +0000
commitf340f97a13b1455349ee27550623179c018fa036 (patch)
tree8ea24fdd774bccfea99317a6dbfbaee461bec3a4 /src/interfaces
parent2492fe49dcb534844d9eece97504b4caca1d81ae (diff)
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
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/fe-connect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index ec6c17cd0b..8cefef20d1 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -44,9 +44,7 @@
#endif
#define near
#include <shlobj.h>
-#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
#include <mstcpip.h>
-#endif
#else
#include <sys/socket.h>
#include <netdb.h>