mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-09 18:42:18 +00:00
strdup() clone for systems/configurations which lack it
This commit is contained in:
@@ -150,11 +150,6 @@ int ares_strcasecmp(const char *s1, const char *s2);
|
||||
same */
|
||||
#define strncasecmp(a,b,c) ares_strncasecmp(a,b,c)
|
||||
#define strcasecmp(a,b) ares_strcasecmp(a,b)
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_VER >= 1400
|
||||
# define strdup(a) _strdup(a)
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* IPv6 compatibility */
|
||||
|
||||
Reference in New Issue
Block a user