Mercurial > hg > nginx-vendor-current
diff src/event/modules/ngx_rtsig_module.c @ 370:9a242235a80a NGINX_0_6_29
nginx 0.6.29
*) Feature: the ngx_google_perftools_module.
*) Bugfix: the ngx_http_perl_module could be not built on 64-bit
platforms; bug appeared in 0.6.27.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 18 Mar 2008 00:00:00 +0300 |
parents | a39aab45a53f |
children | f39b9e29530d |
line wrap: on
line diff
--- a/src/event/modules/ngx_rtsig_module.c +++ b/src/event/modules/ngx_rtsig_module.c @@ -11,8 +11,14 @@ #if (NGX_TEST_BUILD_RTSIG) +#ifdef SIGRTMIN +#define si_fd _reason.__spare__.__spare2__[0] +#else +#define SIGRTMIN 33 +#define si_fd __spare__[0] +#endif + #define F_SETSIG 10 -#define si_fd _reason.__spare__.__spare2__[0] #define KERN_RTSIGNR 30 #define KERN_RTSIGMAX 31