Commit 0b20501c authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build for Windows 10.

parent b1ed6cc7
......@@ -1070,9 +1070,13 @@ static char *dns_strsep(char **sp, const char *delim) {
#if _WIN32
#ifndef strcasecmp
#define strcasecmp(...) _stricmp(__VA_ARGS__)
#endif
#ifndef strncasecmp
#define strncasecmp(...) _strnicmp(__VA_ARGS__)
#endif
#endif
static DNS_INLINE _Bool dns_isalpha(unsigned char c) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment