[project @ 2002-07-01 18:50:54 by sof]
authorsof <unknown>
Mon, 1 Jul 2002 18:50:54 +0000 (18:50 +0000)
committersof <unknown>
Mon, 1 Jul 2002 18:50:54 +0000 (18:50 +0000)
closesocket() is stdcall-based

GHC/Posix.hs

index b020814..7dc08b3 100644 (file)
@@ -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