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
This commit is contained in:
Thomas Munro 2022-08-18 16:21:24 +12:00
parent 2492fe49dc
commit f340f97a13
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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>