diff options
author | 2008-08-23 16:03:46 +0000 | |
---|---|---|
committer | 2008-08-23 16:03:46 +0000 | |
commit | e3d5dc8336a7871627595807476ff95e54ee9c40 (patch) | |
tree | 88ab731cbcf0077b362f9bfd9c9dcc3a254ff0d1 /System/Posix | |
parent | 7f033077b8b0c618c3c1cad5a40898c2837a8969 (diff) |
Fix the build when CONST_SIGPOLL == -1
We were defining, but not using, sigPOLL
Diffstat (limited to 'System/Posix')
-rw-r--r-- | System/Posix/Signals.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/System/Posix/Signals.hs b/System/Posix/Signals.hs index e43a16b..459c042 100644 --- a/System/Posix/Signals.hs +++ b/System/Posix/Signals.hs @@ -152,8 +152,10 @@ sigUSR1 :: CInt sigUSR1 = CONST_SIGUSR1 sigUSR2 :: CInt sigUSR2 = CONST_SIGUSR2 +#if CONST_SIGPOLL != -1 sigPOLL :: CInt sigPOLL = CONST_SIGPOLL +#endif sigPROF :: CInt sigPROF = CONST_SIGPROF sigSYS :: CInt |