diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-19 05:57:17 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-19 05:57:17 +0000 |
commit | 08fecec873b88a3e564fb231dcc45d7300fc872d (patch) | |
tree | 45d4537662d905ca8526b0503a745179905c0642 | |
parent | ae5effbe103f69ff989e08e4c54870076e8f4d65 (diff) | |
download | c-ares-08fecec873b88a3e564fb231dcc45d7300fc872d.tar.gz c-ares-08fecec873b88a3e564fb231dcc45d7300fc872d.tar.bz2 c-ares-08fecec873b88a3e564fb231dcc45d7300fc872d.zip |
Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 4f4e6fe..be1e4ae 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -211,7 +211,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [ #undef inline #ifdef HAVE_WINDOWS_H #define WIN32_LEAN_AND_MEAN -#if defined(__MINGW32__) && (_WIN32_WINNT < 0x0501) +#if defined(__MINGW32__) && ( (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) ) #undef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif |