Replace CURLDEBUG with DEBUGBUILD.

This commit is contained in:
Gisle Vanem 2009-06-12 14:15:13 +00:00
parent c2ce2aa4de
commit aa1da57c37
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
struct server_state *server;
struct timeval now;
#ifdef CURLDEBUG
#ifdef DEBUGBUILD
const char *env = getenv("CARES_MEMDEBUG");
if (env)

View File

@ -337,7 +337,7 @@ long ares__tvdiff(struct timeval t1, struct timeval t2);
(c)->sock_state_cb((c)->sock_state_cb_data, (s), (r), (w)); \
} while (0)
#ifdef CURLDEBUG
#ifdef DEBUGBUILD
/* This is low-level hard-hacking memory leak tracking and similar. Using the
libcurl lowlevel code from within library is ugly and only works when
c-ares is built and linked with a similarly debug-build libcurl, but we do