summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/ngx_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 51e0fd027..d0b87e0e3 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -22,6 +22,9 @@ typedef struct {
#define ngx_null_string { 0, NULL }
+#define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c)
+
+
#if (NGX_WIN32)
#define ngx_strncasecmp(s1, s2, n) \