diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-05-12 15:10:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-05-12 15:10:01 +0200 |
commit | 7ed25ccf0d1e5b8c7fd3bd90f0375a06011cd394 (patch) | |
tree | 208229312256c01fc43232404948ae4875cf0d0f /lib/curl_memory.h | |
parent | 01eede2662f8f4552324b828d8dd6335ee4e2d44 (diff) |
Revert "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage"
This reverts commit 8ec2cb5544b86306b702484ea785b6b9596562ab.
We don't have any code anywhere in libcurl (or the curl tool) that use
wcsdup so there's no such memory use to track. It seems to cause mild
problems with the Borland compiler though that we may avoid by reverting
this change again.
Bug: http://curl.haxx.se/mail/lib-2013-05/0070.html
Diffstat (limited to 'lib/curl_memory.h')
-rw-r--r-- | lib/curl_memory.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/curl_memory.h b/lib/curl_memory.h index 4bba008c9..c1e92513f 100644 --- a/lib/curl_memory.h +++ b/lib/curl_memory.h @@ -87,9 +87,6 @@ extern curl_free_callback Curl_cfree; extern curl_realloc_callback Curl_crealloc; extern curl_strdup_callback Curl_cstrdup; extern curl_calloc_callback Curl_ccalloc; -#ifdef WIN32 -extern curl_wcsdup_callback Curl_cwcsdup; -#endif #ifndef CURLDEBUG @@ -113,19 +110,6 @@ extern curl_wcsdup_callback Curl_cwcsdup; #undef free #define free(ptr) Curl_cfree(ptr) -#ifdef WIN32 -# undef wcsdup -# define wcsdup(ptr) Curl_cwcsdup(ptr) -# undef _wcsdup -# define _wcsdup(ptr) Curl_cwcsdup(ptr) -# undef _tcsdup -# ifdef UNICODE -# define _tcsdup(ptr) Curl_cwcsdup(ptr) -# else -# define _tcsdup(ptr) Curl_cstrdup(ptr) -# endif -#endif - #endif /* CURLDEBUG */ #else /* CURLX_NO_MEMORY_CALLBACKS */ |