aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-15 18:32:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-15 18:32:13 +0000
commitbe2cfc3d28c90b0e911f22d6f14ce927b7f5bfad (patch)
tree52bcfd54a3779fd021278e28dffad5d5bd2f2f4a /src/core/ngx_conf_file.h
parent0915977df53c486abbc6081e1c83f9f8e7a8f111 (diff)
downloadnginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.tar.gz
nginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.zip
nginx-0.0.1-2003-06-15-22:32:13 import
Diffstat (limited to 'src/core/ngx_conf_file.h')
-rw-r--r--src/core/ngx_conf_file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h
index 046ee2c75..07deeb6a1 100644
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -102,6 +102,11 @@ struct ngx_conf_s {
conf = default; \
}
+#define ngx_conf_init_unsigned_value(conf, default) \
+ if (conf == (unsigned) NGX_CONF_UNSET) { \
+ conf = default; \
+ }
+
#define ngx_conf_init_size_value(conf, default) \
if (conf == NGX_CONF_UNSET) { \
conf = default; \