diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-13 03:45:03 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-13 03:45:03 +0000 |
commit | 89367d47a87e8bead28e229d6822718b987fac95 (patch) | |
tree | 5dfe70ea54dea63addeeada7b4c42526a15f6053 /lib/memdebug.c | |
parent | 7fdfd938e0646f01df8a2fc1e8830e7dc7451a84 (diff) |
Disable tracking of fdopen() calls in the low-level memory leak tracking
code when fdopen() is not available, to avoid compiler error.
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index 413247e77..000e2469c 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -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) { |