]> 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)
committerpluknet <pluknet@nginx.com>
Fri, 11 Jul 2025 12:25:51 +0000 (16:25 +0400)
commit3f5f8a7f51b16097ce6d5811ea3934efdfb27dd6
tree9e93dc47834e4adde9e5bf8dfa42f575cf4f2f7d
parent0daaba5c54aeeddffff400bfc77a08a1fd71b757
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