diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2014-12-19 14:47:43 +1100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-19 09:43:00 +0100 |
commit | 3c4ced48d5d82bc3042fdd058e684e87e7036166 (patch) | |
tree | 0bf272be6e33d38a3fc9381116430ffe2b2cefd7 /include | |
parent | 757bf44bb4895fc561a2e5dd2f602168478741ec (diff) |
Fix SIGINFO and SIGWINCH.
It seems these two signals have not been working since at least
2009. Detection of these signals seems to have never been added to
the configure.ac script and the code guarded by #ifdef then bit-rotted
(the idiom used to handle these signals seems to have been abandoned
for something simpler/better in 2009). This fix simply handles these
signals the same way the other signals are handled in
System/Posix/Signals.hsc.
Closes #30 and #31
Diffstat (limited to 'include')
-rw-r--r-- | include/HsUnix.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h index a23f0f9..ba3e053 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -119,13 +119,6 @@ fall back to O_FSYNC, which should be the same */ #define O_SYNC O_FSYNC #endif -#ifdef SIGINFO -int __hsunix_SIGINFO(); -#endif -#ifdef SIGWINCH -int __hsunix_SIGWINCH(); -#endif - // lstat is a macro on some platforms, so we need a wrapper: int __hsunix_lstat(const char *path, struct stat *buf); |