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.
This commit is contained in:
Max Kellermann 2011-10-09 17:52:56 +02:00
parent f3ea834322
commit 9652efd107
13 changed files with 0 additions and 13 deletions

View File

@ -27,7 +27,6 @@
#include <glib.h>
#define WINVER 0x0501
#include <windows.h>
static int service_argc;

View File

@ -29,7 +29,6 @@
#include <sys/time.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -25,7 +25,6 @@
#include <sys/socket.h>
#include <netdb.h>
#else /* G_OS_WIN32 */
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif /* G_OS_WIN32 */

View File

@ -36,7 +36,6 @@
#include <sys/time.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -28,7 +28,6 @@
#include <glib.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -40,7 +40,6 @@
#include <assert.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -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 */

View File

@ -28,7 +28,6 @@
#include <errno.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -26,7 +26,6 @@
#include <string.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -28,7 +28,6 @@
#include <errno.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -30,7 +30,6 @@
#include <unistd.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -21,7 +21,6 @@
#include "resolver.h"
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else

View File

@ -27,7 +27,6 @@
#include <stdlib.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else