--
-----------------------------------------------------------------------------
+#include "config.h"
+
module System.Posix.Signals (
+#ifndef mingw32_TARGET_OS
-- * The Signal type
Signal,
-- sigaltstack()
-- sighold, sigignore, sigpause, sigrelse, sigset
-- siginterrupt
-
+#endif
) where
#include "Signals.h"
import System.Posix.Types
import GHC.Posix
+#ifndef mingw32_TARGET_OS
+-- WHOLE FILE...
+
-- -----------------------------------------------------------------------------
-- Specific signals
foreign import ccall unsafe "__hsposix_SIG_BLOCK" c_SIG_BLOCK :: CInt
foreign import ccall unsafe "__hsposix_SIG_SETMASK" c_SIG_SETMASK :: CInt
foreign import ccall unsafe "__hsposix_SIG_UNBLOCK" c_SIG_UNBLOCK :: CInt
+
+#endif /* mingw32_TARGET_OS */
+