[project @ 2005-03-15 17:19:09 by ross]
[ghc-base.git] / GHC / ConsoleHandler.hs
index 761926d..945be3c 100644 (file)
@@ -12,8 +12,9 @@
 -- Installing Win32 console handlers.
 -- 
 -----------------------------------------------------------------------------
+
 module GHC.ConsoleHandler
-#ifndef mingw32_TARGET_OS
+#ifndef mingw32_HOST_OS
        where
 import Prelude -- necessary to get dependencies right
 #else /* whole file */
@@ -88,4 +89,4 @@ installHandler handler =
 
 foreign import ccall unsafe "Signals.h stg_InstallConsoleEvent" 
   rts_installHandler :: CInt -> Ptr (StablePtr (CInt -> IO ())) -> IO CInt
-#endif /* mingw32_TARGET_OS */
+#endif /* mingw32_HOST_OS */