projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1702d51
)
[project @ 2002-07-01 18:50:54 by sof]
author
sof
<unknown>
Mon, 1 Jul 2002 18:50:54 +0000
(18:50 +0000)
committer
sof
<unknown>
Mon, 1 Jul 2002 18:50:54 +0000
(18:50 +0000)
closesocket() is stdcall-based
GHC/Posix.hs
patch
|
blob
|
history
diff --git
a/GHC/Posix.hs
b/GHC/Posix.hs
index
b020814
..
7dc08b3
100644
(file)
--- a/
GHC/Posix.hs
+++ b/
GHC/Posix.hs
@@
-136,7
+136,7
@@
closeFd isStream fd
| isStream = c_closesocket fd
| otherwise = c_close fd
-foreign import ccall unsafe "closesocket"
+foreign import stdcall unsafe "closesocket"
c_closesocket :: CInt -> IO CInt
#endif