Skip to content

Commit 97431d8

Browse files
committed
bugfix: fixed compilation with NGINX cores < 1.11.11
A follow-up commit to 947fa00 in which removed the `NGX_LUA_NO_FFI_API` macro. Doing so prevents the `cln` variable from being declared, which it previously was before even with such older NGINX core versions.
1 parent 189ba24 commit 97431d8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ngx_http_lua_module.c

-2
Original file line numberDiff line numberDiff line change
@@ -646,9 +646,7 @@ ngx_http_lua_init(ngx_conf_t *cf)
646646
volatile ngx_cycle_t *saved_cycle;
647647
ngx_http_core_main_conf_t *cmcf;
648648
ngx_http_lua_main_conf_t *lmcf;
649-
#if defined(nginx_version) && (nginx_version >= 1011011)
650649
ngx_pool_cleanup_t *cln;
651-
#endif
652650
ngx_str_t name = ngx_string("host");
653651

654652
if (ngx_process == NGX_PROCESS_SIGNALLER || ngx_test_config) {

0 commit comments

Comments
 (0)