aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-18 16:21:24 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-18 16:31:11 +1200
commitf340f97a13b1455349ee27550623179c018fa036 (patch)
tree8ea24fdd774bccfea99317a6dbfbaee461bec3a4 /src/backend
parent2492fe49dcb534844d9eece97504b4caca1d81ae (diff)
downloadpostgresql-f340f97a13b1455349ee27550623179c018fa036.tar.gz
postgresql-f340f97a13b1455349ee27550623179c018fa036.zip
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/backend')
-rw-r--r--src/backend/libpq/pqcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index 5dd92c9f668..8ff3be611de 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -69,7 +69,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <utime.h>
-#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
+#ifdef WIN32
#include <mstcpip.h>
#endif