backgroundWrite, sigTTOU,
userDefinedSignal1, sigUSR1,
userDefinedSignal2, sigUSR2,
+#if HAVE_SIGPOLL
pollableEvent, sigPOLL,
+#endif
profilingTimerExpired, sigPROF,
badSystemCall, sigSYS,
breakpointTrap, sigTRAP,
foreign import ccall "__hsposix_SIGTTOU" sigTTOU :: CInt
foreign import ccall "__hsposix_SIGUSR1" sigUSR1 :: CInt
foreign import ccall "__hsposix_SIGUSR2" sigUSR2 :: CInt
+#if HAVE_SIGPOLL
foreign import ccall "__hsposix_SIGPOLL" sigPOLL :: CInt
+#endif
foreign import ccall "__hsposix_SIGPROF" sigPROF :: CInt
foreign import ccall "__hsposix_SIGSYS" sigSYS :: CInt
foreign import ccall "__hsposix_SIGTRAP" sigTRAP :: CInt
userDefinedSignal2 :: Signal
userDefinedSignal2 = sigUSR2
+#if HAVE_SIGPOLL
pollableEvent :: Signal
pollableEvent = sigPOLL
+#endif
profilingTimerExpired :: Signal
profilingTimerExpired = sigPROF
/* -----------------------------------------------------------------------------
- * $Id: HsBase.h,v 1.16 2002/10/03 13:04:58 panne Exp $
+ * $Id: HsBase.h,v 1.17 2002/10/08 08:03:02 wolfgang Exp $
*
* (c) The University of Glasgow 2001-2002
*
INLINE int __hsposix_SIGTTOU() { return SIGTTOU; }
INLINE int __hsposix_SIGUSR1() { return SIGUSR1; }
INLINE int __hsposix_SIGUSR2() { return SIGUSR2; }
+#if HAVE_SIGPOLL
INLINE int __hsposix_SIGPOLL() { return SIGPOLL; }
+#endif
INLINE int __hsposix_SIGPROF() { return SIGPROF; }
INLINE int __hsposix_SIGSYS() { return SIGSYS; }
INLINE int __hsposix_SIGTRAP() { return SIGTRAP; }