aboutsummaryrefslogtreecommitdiff
path: root/CmdLine.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-04 13:07:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-04 13:07:55 -0400
commit9d06348fa368d502fd1330969cad3c0ea25286fa (patch)
tree4a1412d0d02420fcdb5ae42dff47a8dde62fe7c2 /CmdLine.hs
parent944730682471f4e808f4f1faa9797a965ebadb8f (diff)
missed some __WINDOWS__ defines
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs4
1 files changed, 2 insertions, 2 deletions
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