clean up build warnings on Windows
This commit is contained in:
parent
8dd84b87f9
commit
07c4be500d
5 changed files with 10 additions and 8 deletions
|
@ -105,7 +105,7 @@ getSocket h = do
|
|||
addr <- inet_addr "127.0.0.1"
|
||||
sock <- socket AF_INET Stream defaultProtocol
|
||||
preparesocket sock
|
||||
bindSocket sock (SockAddrInet aNY_PORT addr)
|
||||
bind sock (SockAddrInet aNY_PORT addr)
|
||||
use sock
|
||||
where
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue