]> git.kaiwu.me - nginx.git/commit
Configure: set NGX_KQUEUE_UDATA_T at compile time.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 10 Jul 2025 12:30:35 +0000 (16:30 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Tue, 23 Dec 2025 18:40:33 +0000 (22:40 +0400)
commit089da0a48b68eb5409ce4a4d8fdd01283097d9a2
tree669fbd85d8feb05aaec93de4a5bb6fc0884392df
parent2009d46d6d1a7840eae1e70c1178145d420acf30
Configure: set NGX_KQUEUE_UDATA_T at compile time.

The NGX_KQUEUE_UDATA_T macro is used to compensate the incompatible
kqueue() API in NetBSD, it doesn't really belong to feature tests.

The change limits the macro visibility to the kqueue event module.
Moving from autotests also simplifies testing a particular NetBSD
version as seen in a subsequent change.
auto/unix
src/event/modules/ngx_kqueue_module.c