Fix build on Windows with network-3
authorJoey Hess <joeyh@joeyh.name>
Thu, 8 Oct 2020 14:50:39 +0000 (10:50 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 8 Oct 2020 14:50:39 +0000 (10:50 -0400)
commitd54dd0ef9cd216aa17913ef9cbd725945f56cbba
tree745151832a16fbe0bf052087b9be97426e3b1618
parent46bb8b90b31a827beb217b5344d0208d8d47883b
Fix build on Windows with network-3

inet_addr was removed, but all this needs is localhost, so hardcoding it
should work fine.

It may be that this windows ifdef is no longer needed. It was added in 2013
with a note that getAddrInfo didn't work on windows, but it seems likely
such a problem would have been fixed since.
CHANGELOG
Utility/WebApp.hs
doc/bugs/__34__Variable_not_in_scope__34___when_compiling_on_Windows.mdwn
doc/bugs/__34__Variable_not_in_scope__34___when_compiling_on_Windows/comment_1_8822bbeffb9a89daceb2900ecfe045f5._comment [new file with mode: 0644]