aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_thread.h')
-rw-r--r--src/os/unix/ngx_thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h
index 49c5d5656..2077b3df6 100644
--- a/src/os/unix/ngx_thread.h
+++ b/src/os/unix/ngx_thread.h
@@ -12,7 +12,7 @@
#include <ngx_config.h>
#include <ngx_core.h>
-#if (NGX_THREADS)
+#if (NGX_OLD_THREADS)
#define NGX_MAX_THREADS 128
@@ -107,7 +107,7 @@ ngx_int_t ngx_cond_wait(ngx_cond_t *cv, ngx_mutex_t *m);
ngx_int_t ngx_cond_signal(ngx_cond_t *cv);
-#else /* !NGX_THREADS */
+#else /* !NGX_OLD_THREADS */
#define ngx_thread_volatile