Module: wine Branch: master Commit: a6c07ffba4b2b37d01affb4c39f032bb5f8d34bf URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6c07ffba4b2b37d01affb4c39...
Author: Francois Gouget fgouget@free.fr Date: Fri Dec 12 10:30:09 2008 +0100
wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed.
---
dlls/winhttp/winhttp_private.h | 3 --- dlls/wininet/internet.h | 6 +----- 2 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h index b564d4f..5043235 100644 --- a/dlls/winhttp/winhttp_private.h +++ b/dlls/winhttp/winhttp_private.h @@ -34,9 +34,6 @@ #endif #if defined(__MINGW32__) || defined (_MSC_VER) # include <ws2tcpip.h> -# ifndef MSG_WAITALL -# define MSG_WAITALL 0 -# endif #else # define closesocket close # define ioctlsocket ioctl diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h index d8da781..8de85ff 100644 --- a/dlls/wininet/internet.h +++ b/dlls/wininet/internet.h @@ -42,11 +42,7 @@ # include <sys/socket.h> #endif
-#if defined(__MINGW32__) || defined (_MSC_VER) -#ifndef MSG_WAITALL -#define MSG_WAITALL 0 -#endif -#else +#if !defined(__MINGW32__) && !defined(_MSC_VER) #define closesocket close #define ioctlsocket ioctl #endif /* __MINGW32__ */