aboutsummaryrefslogtreecommitdiff
path: root/src/socket_util.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-09 17:52:56 +0200
committerMax Kellermann <max@duempel.org>2011-10-09 17:52:56 +0200
commit9652efd107f3132e579784176581d962e955bc89 (patch)
tree080a2422c7c12c1e3005d30f4268fa7be275eb91 /src/socket_util.c
parentf3ea834322de7f0400bb42b8f8019d6f8c78c93a (diff)
don't define WINVER in *.c files
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
Diffstat (limited to 'src/socket_util.c')
-rw-r--r--src/socket_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket_util.c b/src/socket_util.c
index e08b6073..a06a0cbd 100644
--- a/src/socket_util.c
+++ b/src/socket_util.c
@@ -27,7 +27,6 @@
#ifndef G_OS_WIN32
#include <sys/socket.h>
#else /* G_OS_WIN32 */
-#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif /* G_OS_WIN32 */