Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES

pull/1/head
Yang Tse 20 years ago
parent ae5effbe10
commit 08fecec873
  1. 2
      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

Loading…
Cancel
Save