mirror of
https://github.com/curl/curl.git
synced 2026-07-16 12:57:16 +03:00
WIN32 MemoryTracking: require UNICODE for wide strdup code support
This commit is contained in:
parent
12d01cb6fa
commit
6bcacff1a5
6 changed files with 25 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue