mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:53:34 +03:00
memory: stop overriding unused wcsdup()/_wcsdup() system functions
Also ban them via `checksrc`. The code continues to use `_tcsdup()`. Closes #17840
This commit is contained in:
parent
22bd59fb7f
commit
6f3aec9a8f
3 changed files with 2 additions and 10 deletions
|
|
@ -142,10 +142,6 @@ CURL_EXTERN ALLOC_FUNC
|
|||
|
||||
#ifdef _WIN32
|
||||
# ifdef UNICODE
|
||||
# undef wcsdup
|
||||
# define wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__)
|
||||
# undef _wcsdup
|
||||
# define _wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__)
|
||||
# undef _tcsdup
|
||||
# define _tcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__)
|
||||
# else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue