From 3c4ced48d5d82bc3042fdd058e684e87e7036166 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 19 Dec 2014 14:47:43 +1100 Subject: 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 --- include/HsUnix.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') 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); -- cgit v1.2.3