diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
commit | da85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch) | |
tree | cf196e3f59770ee720b4ad387eee004b4f28f762 /src/core/ngx_string.h | |
parent | 9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff) | |
download | nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.tar.gz nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.zip |
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 84110b9a5..09de18e52 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -18,8 +18,10 @@ typedef struct { #if (WIN32) -#define ngx_strncasecmp strnicmp -#define ngx_strcasecmp stricmp +#define ngx_strncasecmp(s1, s2, n) \ + strnicmp((const char *) s1, (const char *) s2, n) +#define ngx_strcasecmp(s1, s2) \ + stricmp((const char *) s1, (const char *) s2) #define ngx_snprintf _snprintf #define ngx_vsnprintf _vsnprintf |