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.
This commit is contained in:
parent
46bb8b90b3
commit
d54dd0ef9c
4 changed files with 20 additions and 2 deletions
|
@ -18,3 +18,5 @@ Utility\WebApp.hs:96:33: error:
|
|||
|
||||
- stack version: 2.3.3
|
||||
- Windows version: Windows 7 Enterprise, version 6.1
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2020-10-08T14:38:26Z"
|
||||
content="""
|
||||
Those came from the network library, but were removed in network-3.0.
|
||||
|
||||
I've updated it to work with the new library.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue