diff options
| author | Yang Tse <yangsita@gmail.com> | 2013-07-19 06:44:46 +0200 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2013-07-19 12:33:10 +0200 | 
| commit | 6bcacff1a52df5818c2a12807de6e7ca896da508 (patch) | |
| tree | 9b32191db1fdcf2f3a78df13b4c3ee732b51b088 /lib/curl_setup.h | |
| parent | 12d01cb6fa914519d1ced0223cd9ff96a2634de9 (diff) | |
WIN32 MemoryTracking: require UNICODE for wide strdup code support
Diffstat (limited to 'lib/curl_setup.h')
| -rw-r--r-- | lib/curl_setup.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 3f55a5c0f..7edeca212 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -270,7 +270,9 @@  #    endif  #  endif  #  include <tchar.h> -   typedef wchar_t *(*curl_wcsdup_callback)(const wchar_t *str); +#  ifdef UNICODE +     typedef wchar_t *(*curl_wcsdup_callback)(const wchar_t *str); +#  endif  #endif  /* | 
