diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-10 02:49:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-10 02:49:42 +0000 |
commit | 2c166812253c28cdfbffdd4de069f5c11db3c7a8 (patch) | |
tree | c798b653673cea7174a904af6760a4e9ae86a9b9 /ares | |
parent | 065047dc62cba3efde597fa5420d112fc2f4c500 (diff) |
Adjusted to take in account that...
With the curl memory tracking feature decoupled from the debug build feature,
CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:
CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
DEBUGBUILD used for debug enabled specific code (--enable-debug)
Diffstat (limited to 'ares')
-rw-r--r-- | ares/setup_once.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h index 99367aaa6..de6c632be 100644 --- a/ares/setup_once.h +++ b/ares/setup_once.h @@ -297,7 +297,7 @@ typedef int sig_atomic_t; * Macro used to include code only in debug builds. */ -#ifdef CURLDEBUG +#ifdef DEBUGBUILD #define DEBUGF(x) x #else #define DEBUGF(x) do { } while (0) @@ -308,7 +308,7 @@ typedef int sig_atomic_t; * Macro used to include assertion code only in debug builds. */ -#if defined(CURLDEBUG) && defined(HAVE_ASSERT_H) +#if defined(DEBUGBUILD) && defined(HAVE_ASSERT_H) #define DEBUGASSERT(x) assert(x) #else #define DEBUGASSERT(x) do { } while (0) |