WIN32 MemoryTracking: require UNICODE for wide strdup code support

This commit is contained in:
Yang Tse
2013-07-19 06:44:46 +02:00
parent 12d01cb6fa
commit 6bcacff1a5
6 changed files with 25 additions and 21 deletions

View File

@@ -239,7 +239,7 @@ char *curl_dostrdup(const char *str, int line, const char *source)
return mem;
}
#ifdef WIN32
#if defined(WIN32) && defined(UNICODE)
wchar_t *curl_dowcsdup(const wchar_t *str, int line, const char *source)
{
wchar_t *mem;