From 9652efd107f3132e579784176581d962e955bc89 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 9 Oct 2011 17:52:56 +0200 Subject: 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. --- src/main_win32.c | 1 - src/ntp_server.c | 1 - src/resolver.c | 1 - src/rtsp_client.c | 1 - src/rtsp_client.h | 1 - src/server_socket.c | 1 - src/socket_util.c | 1 - src/tcp_connect.c | 1 - src/tcp_socket.c | 1 - src/udp_server.c | 1 - 10 files changed, 10 deletions(-) (limited to 'src') diff --git a/src/main_win32.c b/src/main_win32.c index edac8a8dc..aac7ad886 100644 --- a/src/main_win32.c +++ b/src/main_win32.c @@ -27,7 +27,6 @@ #include -#define WINVER 0x0501 #include static int service_argc; diff --git a/src/ntp_server.c b/src/ntp_server.c index c33c0a933..f31a2d845 100644 --- a/src/ntp_server.c +++ b/src/ntp_server.c @@ -29,7 +29,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/resolver.c b/src/resolver.c index e50642b1e..5d8d299c6 100644 --- a/src/resolver.c +++ b/src/resolver.c @@ -25,7 +25,6 @@ #include #include #else /* G_OS_WIN32 */ -#define WINVER 0x0501 #include #include #endif /* G_OS_WIN32 */ diff --git a/src/rtsp_client.c b/src/rtsp_client.c index 864b3a7f4..66b7244a2 100644 --- a/src/rtsp_client.c +++ b/src/rtsp_client.c @@ -36,7 +36,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/rtsp_client.h b/src/rtsp_client.h index 5c8425248..21660e609 100644 --- a/src/rtsp_client.h +++ b/src/rtsp_client.h @@ -28,7 +28,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/server_socket.c b/src/server_socket.c index 998786d7b..89663d8b8 100644 --- a/src/server_socket.c +++ b/src/server_socket.c @@ -40,7 +40,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/socket_util.c b/src/socket_util.c index e08b60735..a06a0cbd5 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -27,7 +27,6 @@ #ifndef G_OS_WIN32 #include #else /* G_OS_WIN32 */ -#define WINVER 0x0501 #include #include #endif /* G_OS_WIN32 */ diff --git a/src/tcp_connect.c b/src/tcp_connect.c index bea823955..88e2348e6 100644 --- a/src/tcp_connect.c +++ b/src/tcp_connect.c @@ -28,7 +28,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/tcp_socket.c b/src/tcp_socket.c index b64796fe6..bfed4dc56 100644 --- a/src/tcp_socket.c +++ b/src/tcp_socket.c @@ -26,7 +26,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else diff --git a/src/udp_server.c b/src/udp_server.c index e1c0b1545..e70f785e2 100644 --- a/src/udp_server.c +++ b/src/udp_server.c @@ -28,7 +28,6 @@ #include #ifdef WIN32 -#define WINVER 0x0501 #include #include #else -- cgit v1.2.3