wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed.
This commit is contained in:
parent
7271ed5532
commit
a6c07ffba4
|
@ -34,9 +34,6 @@
|
||||||
#endif
|
#endif
|
||||||
#if defined(__MINGW32__) || defined (_MSC_VER)
|
#if defined(__MINGW32__) || defined (_MSC_VER)
|
||||||
# include <ws2tcpip.h>
|
# include <ws2tcpip.h>
|
||||||
# ifndef MSG_WAITALL
|
|
||||||
# define MSG_WAITALL 0
|
|
||||||
# endif
|
|
||||||
#else
|
#else
|
||||||
# define closesocket close
|
# define closesocket close
|
||||||
# define ioctlsocket ioctl
|
# define ioctlsocket ioctl
|
||||||
|
|
|
@ -42,11 +42,7 @@
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined (_MSC_VER)
|
#if !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||||
#ifndef MSG_WAITALL
|
|
||||||
#define MSG_WAITALL 0
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define closesocket close
|
#define closesocket close
|
||||||
#define ioctlsocket ioctl
|
#define ioctlsocket ioctl
|
||||||
#endif /* __MINGW32__ */
|
#endif /* __MINGW32__ */
|
||||||
|
|
Loading…
Reference in New Issue