aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-26 07:24:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-26 07:24:21 +0000
commit960ffa42cb161b3769cde9bbf2212092e751dfab (patch)
tree8839d7c465a5971c36faa91e27b7df38c1376912 /src/core/ngx_string.h
parent3a17f2483690412134e548a1a961e1424f958c01 (diff)
downloadnginx-960ffa42cb161b3769cde9bbf2212092e751dfab.tar.gz
nginx-960ffa42cb161b3769cde9bbf2212092e751dfab.zip
nginx-0.0.1-2002-12-26-10:24:21 import
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index ddfdaccee..3e28abb68 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -10,8 +10,11 @@ typedef struct {
char *data;
} ngx_str_t;
-#if (WIN32)
+#define ngx_string(str) { sizeof(str) - 1, str }
+
+
+#if (WIN32)
#define ngx_memzero ZeroMemory