Commit 40bcd6ac authored by's avatar
Browse files

Fix build on Win64

parent 3a92ddd6
......@@ -431,7 +431,7 @@ type Handler = DWORD -> IO BOOL
foreign import ccall "wrapper" wrapHandler :: Handler -> IO (FunPtr Handler)
foreign import stdcall "windows.h SetConsoleCtrlHandler" c_SetConsoleCtrlHandler
foreign import WINDOWS_CCONV "windows.h SetConsoleCtrlHandler" c_SetConsoleCtrlHandler
:: FunPtr Handler -> BOOL -> IO BOOL
-- sets the tv to True when ctrl-c is pressed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment