summaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-13 23:53:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-13 23:53:14 +0000
commit9ace30352874529fa85f25da80b1cfe4e2bfa4ae (patch)
treeed8f5e9f984a58a217ec9377917daa856a553a81 /lib/memdebug.h
parent7e81c35cdc967e8babb73cd6f7e70b81ed404186 (diff)
downloadcurl-9ace30352874529fa85f25da80b1cfe4e2bfa4ae.tar.gz
Yang Tse fixed compiler warnings
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index 23b420e2e..4d965fb1f 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -92,12 +92,15 @@ CURL_EXTERN int curl_fclose(FILE *file, int line, const char *source);
#define ogetaddrinfo(host,serv,hint,res) \
curl_dogetaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
#else
+#undef getaddrinfo
#define getaddrinfo(host,serv,hint,res) \
curl_dogetaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
#endif
+#undef getnameinfo
#define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
curl_dogetnameinfo(sa,salen,host,hostlen,serv,servlen,flags, __LINE__, \
__FILE__)
+#undef freeaddrinfo
#define freeaddrinfo(data) \
curl_dofreeaddrinfo(data,__LINE__,__FILE__)