Mercurial > hg > nginx
comparison src/event/modules/ngx_eventport_module.c @ 6475:7d6970ba5209
Events: fixed test building with eventport on OS X.
Broken in d17f0584006f (1.9.13).
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 30 Mar 2016 11:57:28 +0300 |
parents | d17f0584006f |
children | dc92298b1852 |
comparison
equal
deleted
inserted
replaced
6474:2cd019520210 | 6475:7d6970ba5209 |
---|---|
47 typedef struct port_notify { | 47 typedef struct port_notify { |
48 int portnfy_port; /* bind request(s) to port */ | 48 int portnfy_port; /* bind request(s) to port */ |
49 void *portnfy_user; /* user defined */ | 49 void *portnfy_user; /* user defined */ |
50 } port_notify_t; | 50 } port_notify_t; |
51 | 51 |
52 #if (__FreeBSD__) && (__FreeBSD_version < 700005) | 52 #if (__FreeBSD__ && __FreeBSD_version < 700005) || (NGX_DARWIN) |
53 | 53 |
54 typedef struct itimerspec { /* definition per POSIX.4 */ | 54 typedef struct itimerspec { /* definition per POSIX.4 */ |
55 struct timespec it_interval;/* timer period */ | 55 struct timespec it_interval;/* timer period */ |
56 struct timespec it_value; /* timer expiration */ | 56 struct timespec it_value; /* timer expiration */ |
57 } itimerspec_t; | 57 } itimerspec_t; |