mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08: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 */
|
void *portnfy_user; /* user defined */
|
||||||
} port_notify_t;
|
} port_notify_t;
|
||||||
|
|
||||||
#if (__FreeBSD__) && (__FreeBSD_version < 700005)
|
#if (__FreeBSD__ && __FreeBSD_version < 700005) || (NGX_DARWIN)
|
||||||
|
|
||||||
typedef struct itimerspec { /* definition per POSIX.4 */
|
typedef struct itimerspec { /* definition per POSIX.4 */
|
||||||
struct timespec it_interval;/* timer period */
|
struct timespec it_interval;/* timer period */
|
||||||
|
Loading…
Reference in New Issue
Block a user