Mercurial > hg > nginx
comparison src/event/modules/ngx_devpoll_module.c @ 6447:d17f0584006f
Events: fixed test building with devpoll and eventport on Linux.
Avoid POLLREMOVE and itimerspec redefinition.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 21 Mar 2016 12:36:36 +0300 |
parents | 33aef5cd3d43 |
children | 75dbab4ea930 |
comparison
equal
deleted
inserted
replaced
6446:0ff7eff48c7e | 6447:d17f0584006f |
---|---|
12 | 12 |
13 #if (NGX_TEST_BUILD_DEVPOLL) | 13 #if (NGX_TEST_BUILD_DEVPOLL) |
14 | 14 |
15 /* Solaris declarations */ | 15 /* Solaris declarations */ |
16 | 16 |
17 #ifndef POLLREMOVE | |
17 #define POLLREMOVE 0x0800 | 18 #define POLLREMOVE 0x0800 |
19 #endif | |
18 #define DP_POLL 0xD001 | 20 #define DP_POLL 0xD001 |
19 #define DP_ISPOLLED 0xD002 | 21 #define DP_ISPOLLED 0xD002 |
20 | 22 |
21 struct dvpoll { | 23 struct dvpoll { |
22 struct pollfd *dp_fds; | 24 struct pollfd *dp_fds; |