mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 05:23:31 +00:00
Fixed --test-build-eventport on macOS 10.12 and later.
In macOS 10.12, CLOCK_REALTIME and clockid_t were added, but not timer_t.
This commit is contained in:
parent
3377c00119
commit
63a4dab7b0
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@
|
|||
#define CLOCK_REALTIME 0
|
||||
typedef int clockid_t;
|
||||
typedef void * timer_t;
|
||||
#elif (NGX_DARWIN)
|
||||
typedef void * timer_t;
|
||||
#endif
|
||||
|
||||
/* Solaris declarations */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue