git-annex now builds on Windows (doesn't work)
This commit is contained in:
parent
3a7eb68c1a
commit
3c7e30a295
52 changed files with 319 additions and 64 deletions
|
@ -17,7 +17,7 @@ import qualified Control.Exception as E
|
|||
import qualified Data.Map as M
|
||||
import Control.Exception (throw)
|
||||
import System.Console.GetOpt
|
||||
#ifndef mingw32_HOST_OS
|
||||
#ifndef __WINDOWS__
|
||||
import System.Posix.Signals
|
||||
#endif
|
||||
|
||||
|
@ -118,7 +118,9 @@ tryRun' errnum state cmd (a:as) = do
|
|||
{- Actions to perform each time ran. -}
|
||||
startup :: Annex Bool
|
||||
startup = liftIO $ do
|
||||
#ifndef __WINDOWS__
|
||||
void $ installHandler sigINT Default Nothing
|
||||
#endif
|
||||
return True
|
||||
|
||||
{- Cleanup actions. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue