diff src/core/ngx_conf_file.h @ 105:00bee6e7b485

nginx-0.0.1-2003-06-15-22:32:13 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Jun 2003 18:32:13 +0000
parents 6dfda4cf5200
children 9f9de4deda7e
line wrap: on
line diff
--- 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;                                                      \