summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-14 10:06:18 +0100
committerCorinna Vinschen <corinna@vinschen.de>2015-12-14 15:39:44 +0100
commit01885f533de81ff73e9da1519a4b5f2316b49f86 (patch)
tree940b95075ddd4b7411b7ca877883f37ae97080da /winsup
parentc39ad27d9e76636527c37d030d7f7d651744a8f3 (diff)
downloadcygnal-01885f533de81ff73e9da1519a4b5f2316b49f86.tar.gz
cygnal-01885f533de81ff73e9da1519a4b5f2316b49f86.tar.bz2
cygnal-01885f533de81ff73e9da1519a4b5f2316b49f86.zip
FreeBSD compatibility for <sys/select.h>
* libc/include/sys/_sigset.h: New. * libc/include/sys/select.h: Do not include <sys/types.h> and <sys/time.h> to avoid cyclic header file dependencies. Include specialized header files instead. (sigset_t): Conditionally define. * libc/include/sys/signal.h (sigset_t): Likewise. * libc/include/sys/time.h: Include <sys/select.h> if __BSD_VISIBLE. * libc/include/sys/types.h: Likewise.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/cygwin/signal.h8
2 files changed, 4 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7079baa55..4eb418dde 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * include/cygwin/signal.h (sigset_t): Move defintition to newlib.
+
2015-12-11 Ken Brown <kbrown@cornell.edu>
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Align
diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h
index 19dd0a64a..350a91219 100644
--- a/winsup/cygwin/include/cygwin/signal.h
+++ b/winsup/cygwin/include/cygwin/signal.h
@@ -315,14 +315,6 @@ enum
#define SIGEV_NONE SIGEV_NONE
#define SIGEV_THREAD SIGEV_THREAD
-#if __WORDSIZE == 64
-typedef __uint64_t sigset_t;
-#else
-/* FIXME: We should probably raise the # of signals for 32 bit as well.
- Unfortunately this is an ABI change so requires some forethought. */
-typedef __uint32_t sigset_t;
-#endif
-
typedef void (*_sig_func_ptr)(int);
struct sigaction