aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 /test
parentf3ea834322de7f0400bb42b8f8019d6f8c78c93a (diff)
downloadmpd-9652efd107f3132e579784176581d962e955bc89.tar.gz
mpd-9652efd107f3132e579784176581d962e955bc89.tar.xz
mpd-9652efd107f3132e579784176581d962e955bc89.zip
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 'test')
-rw-r--r--test/run_ntp_server.c1
-rw-r--r--test/run_resolver.c1
-rw-r--r--test/run_tcp_connect.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/run_ntp_server.c b/test/run_ntp_server.c
index 6f732a074..842d1852e 100644
--- a/test/run_ntp_server.c
+++ b/test/run_ntp_server.c
@@ -30,7 +30,6 @@
#include <unistd.h>
#ifdef WIN32
-#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
diff --git a/test/run_resolver.c b/test/run_resolver.c
index 05b86742b..ee0bc0172 100644
--- a/test/run_resolver.c
+++ b/test/run_resolver.c
@@ -21,7 +21,6 @@
#include "resolver.h"
#ifdef WIN32
-#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
diff --git a/test/run_tcp_connect.c b/test/run_tcp_connect.c
index aa8fb05f5..bf8d9b82f 100644
--- a/test/run_tcp_connect.c
+++ b/test/run_tcp_connect.c
@@ -27,7 +27,6 @@
#include <stdlib.h>
#ifdef WIN32
-#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else