Skip to content

Commit

Permalink
configure: Fix MinGW detection
Browse files Browse the repository at this point in the history
Fixes: bd8b313
       ("configure: Define _WIN32_WINNT when compiling with MinGW")
Ref: axel-download-accelerator#313
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
  • Loading branch information
ismaell authored and davidpolverari committed Aug 26, 2021
1 parent c292e25 commit e1b07e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ hpux*)
LDFLAGS="$LDFLAGS -L/usr/local/lib/hpux32"
fi
;;
*-mingw32)
*mingw32)
AC_DEFINE([_WIN32_WINNT], [0x0600],
[Request NT 6 API to expose AI_ADDRCONFIG in WinSock2])
;;
Expand Down

0 comments on commit e1b07e3

Please sign in to comment.