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:
Yang Tse
2008-09-13 03:45:03 +00:00
parent 7fdfd938e0
commit 89367d47a8
3 changed files with 9 additions and 1 deletions

View File

@@ -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)
{