Removed NGX_OLD_THREADS from select and poll modules.
These modules can't be compiled on win32.
This commit is contained in:
parent
2514db4c42
commit
6e8ba34b90
2 changed files with 0 additions and 20 deletions
|
@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf)
|
|||
return NGX_CONF_OK;
|
||||
}
|
||||
|
||||
#if (NGX_OLD_THREADS)
|
||||
|
||||
ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
|
||||
"poll() is not supported in the threaded mode");
|
||||
return NGX_CONF_ERROR;
|
||||
|
||||
#else
|
||||
|
||||
return NGX_CONF_OK;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -419,15 +419,5 @@ ngx_select_init_conf(ngx_cycle_t *cycle, void *conf)
|
|||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
#if (NGX_OLD_THREADS)
|
||||
|
||||
ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
|
||||
"select() is not supported in the threaded mode");
|
||||
return NGX_CONF_ERROR;
|
||||
|
||||
#else
|
||||
|
||||
return NGX_CONF_OK;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue