From 39da51b20f0842f6cf1218839f97eaef81cd7bb3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 29 Jun 2011 19:50:49 +0200 Subject: [PATCH] Remove WIN32_LEAN_AND_MEAN --- c-ares/ares.h | 3 --- c-ares/ares_setup.h | 3 --- c-ares/config_cygwin/ares_config.h | 3 --- c-ares/config_darwin/ares_config.h | 3 --- c-ares/config_freebsd/ares_config.h | 3 --- c-ares/config_linux/ares_config.h | 3 --- c-ares/config_openbsd/ares_config.h | 3 --- c-ares/config_sunos/ares_config.h | 3 --- c-ares/config_win32/ares_config.h | 3 --- 9 files changed, 27 deletions(-) diff --git a/c-ares/ares.h b/c-ares/ares.h index 5c197ef0..45ca5646 100644 --- a/c-ares/ares.h +++ b/c-ares/ares.h @@ -96,9 +96,6 @@ typedef int ares_socklen_t; # include # include #elif defined(WIN32) -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN -# endif # include # include # include diff --git a/c-ares/ares_setup.h b/c-ares/ares_setup.h index 0d1ce0f9..8dbb9338 100644 --- a/c-ares/ares_setup.h +++ b/c-ares/ares_setup.h @@ -108,9 +108,6 @@ */ #ifdef HAVE_WINDOWS_H -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN -# endif # include # ifdef HAVE_WINSOCK2_H # include diff --git a/c-ares/config_cygwin/ares_config.h b/c-ares/config_cygwin/ares_config.h index 1d193280..70595d36 100644 --- a/c-ares/config_cygwin/ares_config.h +++ b/c-ares/config_cygwin/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_darwin/ares_config.h b/c-ares/config_darwin/ares_config.h index 77b6d4a3..3722bba1 100644 --- a/c-ares/config_darwin/ares_config.h +++ b/c-ares/config_darwin/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_freebsd/ares_config.h b/c-ares/config_freebsd/ares_config.h index 79508824..4164edb3 100644 --- a/c-ares/config_freebsd/ares_config.h +++ b/c-ares/config_freebsd/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_linux/ares_config.h b/c-ares/config_linux/ares_config.h index a2cb7f29..dca6476e 100644 --- a/c-ares/config_linux/ares_config.h +++ b/c-ares/config_linux/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_openbsd/ares_config.h b/c-ares/config_openbsd/ares_config.h index e63bd73c..5e3ae688 100644 --- a/c-ares/config_openbsd/ares_config.h +++ b/c-ares/config_openbsd/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_sunos/ares_config.h b/c-ares/config_sunos/ares_config.h index 0a0a54ec..836de9f5 100644 --- a/c-ares/config_sunos/ares_config.h +++ b/c-ares/config_sunos/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.1" -/* Define to avoid automatic inclusion of winsock.h */ -/* #undef WIN32_LEAN_AND_MEAN */ - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD diff --git a/c-ares/config_win32/ares_config.h b/c-ares/config_win32/ares_config.h index 7942ed43..a1f3c320 100644 --- a/c-ares/config_win32/ares_config.h +++ b/c-ares/config_win32/ares_config.h @@ -474,9 +474,6 @@ /* Version number of package */ #define VERSION "1.7.3" -/* Define to avoid automatic inclusion of winsock.h */ -#define WIN32_LEAN_AND_MEAN 1 - /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD