Skip to content

Commit 7b7178a

Browse files
committed
bugfix: fixed a compilation error on Windows. this regression had appeaered in 0.10.9.
1 parent 89de780 commit 7b7178a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ngx_http_lua_ffi_worker_count(void)
138138
int
139139
ngx_http_lua_ffi_get_process_type(void)
140140
{
141-
#ifdef HAVE_PRIVILEGED_PROCESS_PATCH
141+
#if defined(HAVE_PRIVILEGED_PROCESS_PATCH) && !NGX_WIN32
142142
if (ngx_process == NGX_PROCESS_HELPER) {
143143
if (ngx_is_privileged_agent) {
144144
return NGX_PROCESS_PRIVILEGED_AGENT;

0 commit comments

Comments
 (0)