mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:17:20 +03:00
Disable tracking of fdopen() calls in the low-level memory leak tracking
code when fdopen() is not available, to avoid compiler error.
This commit is contained in:
parent
7fdfd938e0
commit
89367d47a8
3 changed files with 9 additions and 1 deletions
|
|
@ -283,6 +283,7 @@ FILE *curl_fopen(const char *file, const char *mode,
|
|||
return res;
|
||||
}
|
||||
|
||||
#ifdef HAVE_FDOPEN
|
||||
FILE *curl_fdopen(int filedes, const char *mode,
|
||||
int line, const char *source)
|
||||
{
|
||||
|
|
@ -292,6 +293,7 @@ FILE *curl_fdopen(int filedes, const char *mode,
|
|||
source, line, filedes, mode, res);
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
||||
int curl_fclose(FILE *file, int line, const char *source)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue