mirror of
https://github.com/curl/curl.git
synced 2026-05-30 07:37:33 +03:00
memdebug.h: #undef fclose before defining it
Just in case, and to match the pattern used for similar redefines. Cherry-picked from #17827
This commit is contained in:
parent
ed3a482cd1
commit
822e47cdce
1 changed files with 1 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ CURL_EXTERN ALLOC_FUNC
|
|||
#define fopen(file,mode) curl_dbg_fopen(file,mode,__LINE__,__FILE__)
|
||||
#undef fdopen
|
||||
#define fdopen(file,mode) curl_dbg_fdopen(file,mode,__LINE__,__FILE__)
|
||||
#undef fclose
|
||||
#define fclose(file) curl_dbg_fclose(file,__LINE__,__FILE__)
|
||||
|
||||
#endif /* CURLDEBUG */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue