mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 13:43:28 -06:00
Replaced the remaining NGX_OLD_THREADS check with NGX_WIN32.
This commit is contained in:
parent
bfd2db83a7
commit
9b411460f9
@ -212,7 +212,9 @@ ngx_process_events_and_timers(ngx_cycle_t *cycle)
|
||||
timer = ngx_event_find_timer();
|
||||
flags = NGX_UPDATE_TIME;
|
||||
|
||||
#if (NGX_OLD_THREADS)
|
||||
#if (NGX_WIN32)
|
||||
|
||||
/* handle signals from master in case of network inactivity */
|
||||
|
||||
if (timer == NGX_TIMER_INFINITE || timer > 500) {
|
||||
timer = 500;
|
||||
|
@ -218,8 +218,6 @@ typedef int sig_atomic_t;
|
||||
#define NGX_HAVE_LITTLE_ENDIAN 1
|
||||
#define NGX_HAVE_NONALIGNED 1
|
||||
|
||||
#define NGX_OLD_THREADS 1
|
||||
|
||||
|
||||
#define NGX_WIN_NT 200000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user