Removed NGX_OLD_THREADS from select and poll modules.

These modules can't be compiled on win32.
This commit is contained in:
Ruslan Ermilov 2015-03-26 14:20:07 +03:00
parent 64c5df4b62
commit bfd2db83a7
2 changed files with 0 additions and 20 deletions

View File

@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf)
return NGX_CONF_OK; 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; return NGX_CONF_OK;
#endif
} }

View File

@ -419,15 +419,5 @@ ngx_select_init_conf(ngx_cycle_t *cycle, void *conf)
return NGX_CONF_ERROR; 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; return NGX_CONF_OK;
#endif
} }