diff src/event/modules/ngx_poll_module.c @ 6112:8c79c506ea20

Removed NGX_OLD_THREADS from select and poll modules. These modules can't be compiled on win32.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 26 Mar 2015 14:20:07 +0300
parents 4652f8f26b12
children 75dbab4ea930
line wrap: on
line diff
--- a/src/event/modules/ngx_poll_module.c
+++ b/src/event/modules/ngx_poll_module.c
@@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, v
         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
 }