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:
parent
2492fe49dc
commit
f340f97a13
@ -69,7 +69,7 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
|
#ifdef WIN32
|
||||||
#include <mstcpip.h>
|
#include <mstcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -44,9 +44,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define near
|
#define near
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#ifdef _MSC_VER /* mstcpip.h is missing on mingw */
|
|
||||||
#include <mstcpip.h>
|
#include <mstcpip.h>
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user