summaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-28 19:20:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-28 19:20:59 +0000
commitb8a6913e0965e5f492dfbe2b39b52ab5813bf08d (patch)
treef838bef30e2bf0a7db269749c3d7bf470e4c64ed /lib/memdebug.h
parent744d8c1006e5aeb3abe4f42949a148b2e8f9cea4 (diff)
downloadcurl-b8a6913e0965e5f492dfbe2b39b52ab5813bf08d.tar.gz
prevent compiler warnings
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index b2399a269..3fa87ac9e 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -57,6 +57,7 @@ FILE *curl_fopen(const char *file, const char *mode, int line,
int curl_fclose(FILE *file, int line, const char *source);
/* Set this symbol on the command-line, recompile all lib-sources */
+#undef strdup
#define strdup(ptr) curl_dostrdup(ptr, __LINE__, __FILE__)
#define malloc(size) curl_domalloc(size, __LINE__, __FILE__)
#define realloc(ptr,size) curl_dorealloc(ptr, size, __LINE__, __FILE__)