From 9d06348fa368d502fd1330969cad3c0ea25286fa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 4 Aug 2013 13:07:55 -0400 Subject: missed some __WINDOWS__ defines --- CmdLine.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CmdLine.hs') diff --git a/CmdLine.hs b/CmdLine.hs index 8cf4d0544..83a89ef7d 100644 --- a/CmdLine.hs +++ b/CmdLine.hs @@ -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 __WINDOWS__ +#ifndef mingw32_HOST_OS import System.Posix.Signals #endif @@ -123,7 +123,7 @@ tryRun' errnum state cmd (a:as) = do {- Actions to perform each time ran. -} startup :: Annex Bool startup = liftIO $ do -#ifndef __WINDOWS__ +#ifndef mingw32_HOST_OS void $ installHandler sigINT Default Nothing #endif return True -- cgit v1.2.3