mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
Events: fixed test building with eventport on OS X.
Broken in d17f0584006f (1.9.13).
This commit is contained in:
parent
7ad57da598
commit
dd5628fcad
@ -49,7 +49,7 @@ typedef struct port_notify {
|
||||
void *portnfy_user; /* user defined */
|
||||
} port_notify_t;
|
||||
|
||||
#if (__FreeBSD__) && (__FreeBSD_version < 700005)
|
||||
#if (__FreeBSD__ && __FreeBSD_version < 700005) || (NGX_DARWIN)
|
||||
|
||||
typedef struct itimerspec { /* definition per POSIX.4 */
|
||||
struct timespec it_interval;/* timer period */
|
||||
|
Loading…
Reference in New Issue
Block a user