forked from curl/curl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIN32 MemoryTracking: require UNICODE for wide strdup code support
- Loading branch information
Showing
6 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* | (__| |_| | _ <| |___ | ||
* \___|\___/|_| \_\_____| | ||
* | ||
* Copyright (C) 1998 - 2012, Daniel Stenberg, <[email protected]>, et al. | ||
* Copyright (C) 1998 - 2013, Daniel Stenberg, <[email protected]>, et al. | ||
* | ||
* This software is licensed as described in the file COPYING, which | ||
* you should have received as part of this distribution. The terms | ||
|
@@ -58,8 +58,8 @@ curl_free_callback Curl_cfree = (curl_free_callback)free; | |
curl_realloc_callback Curl_crealloc = (curl_realloc_callback)realloc; | ||
curl_strdup_callback Curl_cstrdup = (curl_strdup_callback)strdup; | ||
curl_calloc_callback Curl_ccalloc = (curl_calloc_callback)calloc; | ||
#ifdef WIN32 | ||
curl_wcsdup_callback Curl_cwcsdup = (curl_wcsdup_callback)wcsdup; | ||
#if defined(WIN32) && defined(UNICODE) | ||
curl_wcsdup_callback Curl_cwcsdup = (curl_wcsdup_callback)_wcsdup; | ||
#endif | ||
|
||
#if defined(_MSC_VER) && defined(_DLL) | ||
|