Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[project @ 2002-07-02 15:40:43 by sof]

fix c_close CPP silly
  • Loading branch information...
commit e43dbb1c65969d3404ae6782cfd31594ff7376e7 1 parent 4f9e861
sof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Network/Socket.hsc
View
2  Network/Socket.hsc
@@ -1582,7 +1582,7 @@ foreign import CALLCONV unsafe "inet_addr"
foreign import CALLCONV unsafe "shutdown"
c_shutdown :: CInt -> CInt -> IO CInt
-#if defined(WITH_WINSOCK)
+#if !defined(WITH_WINSOCK)
foreign import ccall unsafe "close"
c_close :: CInt -> IO CInt
#else
Please sign in to comment.
Something went wrong with that request. Please try again.