Francois Gouget : wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed.
Alexandre Julliard
julliard at winehq.org
Fri Dec 12 07:04:27 CST 2008
Module: wine
Branch: master
Commit: a6c07ffba4b2b37d01affb4c39f032bb5f8d34bf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6c07ffba4b2b37d01affb4c39f032bb5f8d34bf
Author: Francois Gouget <fgouget at 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__ */
More information about the wine-cvs
mailing list