aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2018-12-09 15:43:58 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2018-12-09 15:43:58 +0300
commit1616caa17764c878bc18c6344a0f7f60b2cb596c (patch)
treed5dffa11fd2729e1f1151d3eba12f62f91a57569
parent2add933d4fa7327b895d1ad2f9acfa0977d02be3 (diff)
downloadlibmicrohttpd-1616caa17764c878bc18c6344a0f7f60b2cb596c.tar.gz
libmicrohttpd-1616caa17764c878bc18c6344a0f7f60b2cb596c.zip
configure: fixed build for latest MinGW
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0f7f7bbf..9e0b6e12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -695,6 +695,9 @@ AS_IF([test "$enable_poll" != "no"],
695 [AC_INCLUDES_DEFAULT]), 695 [AC_INCLUDES_DEFAULT]),
696 [AC_MSG_CHECKING([for WSAPoll()]) 696 [AC_MSG_CHECKING([for WSAPoll()])
697 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ 697 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
698#if defined(_WIN32) && ! defined(__CYGWIN__) && ! defined(_WIN32_WINNT)
699#define _WIN32_WINNT 0x0501
700#endif
698#include <winsock2.h> 701#include <winsock2.h>
699 ]],[[ 702 ]],[[
700WSAPOLLFD fda[2]; 703WSAPOLLFD fda[2];