mirror of
https://github.com/nginx/nginx.git
synced 2025-01-08 23:23:02 -06:00
update ngx_memcmp()
This commit is contained in:
parent
36b634cdbc
commit
2e8f0d0b30
@ -114,7 +114,7 @@ ngx_copy(u_char *dst, u_char *src, size_t len)
|
||||
|
||||
|
||||
/* msvc and icc7 compile memcmp() to the inline loop */
|
||||
#define ngx_memcmp memcmp
|
||||
#define ngx_memcmp(s1, s2, n) memcmp((const char *) s1, (const char *) s2, n)
|
||||
|
||||
|
||||
u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n);
|
||||
|
Loading…
Reference in New Issue
Block a user