Mercurial > hg > nginx
comparison src/event/modules/ngx_rtsig_module.c @ 1870:a62fb6c156c5
fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 28 Jan 2008 16:24:01 +0000 |
parents | f69d1aab6a0f |
children | 6e7daf852eec |
comparison
equal
deleted
inserted
replaced
1869:192443881e51 | 1870:a62fb6c156c5 |
---|---|
10 | 10 |
11 | 11 |
12 #if (NGX_TEST_BUILD_RTSIG) | 12 #if (NGX_TEST_BUILD_RTSIG) |
13 | 13 |
14 #define F_SETSIG 10 | 14 #define F_SETSIG 10 |
15 #define SIGRTMIN 33 | 15 #define si_fd _reason.__spare__.__spare2__[0] |
16 #define si_fd __spare__[0] | |
17 #define KERN_RTSIGNR 30 | 16 #define KERN_RTSIGNR 30 |
18 #define KERN_RTSIGMAX 31 | 17 #define KERN_RTSIGMAX 31 |
19 | 18 |
20 int sigtimedwait(const sigset_t *set, siginfo_t *info, | 19 int sigtimedwait(const sigset_t *set, siginfo_t *info, |
21 const struct timespec *timeout) | 20 const struct timespec *timeout) |