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.
This commit is contained in:
committed by
Corinna Vinschen
parent
c39ad27d9e
commit
01885f533d
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user