Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed --test-build-eventport on macOS 10.12 and later.

January 17, 2018 07:16AM
details: http://hg.nginx.org/nginx/rev/cbf59d483c9c
branches:
changeset: 7189:cbf59d483c9c
user: Ruslan Ermilov <ru@nginx.com>
date: Tue Jan 16 13:52:03 2018 +0300
description:
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.

diffstat:

src/event/modules/ngx_eventport_module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 93abb5a855d6 -r cbf59d483c9c src/event/modules/ngx_eventport_module.c
--- a/src/event/modules/ngx_eventport_module.c Thu Jan 11 21:43:49 2018 +0300
+++ b/src/event/modules/ngx_eventport_module.c Tue Jan 16 13:52:03 2018 +0300
@@ -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 */
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Fixed --test-build-eventport on macOS 10.12 and later.

ru@nginx.com 818 January 17, 2018 07:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready