From: Dan Fandrich Date: Wed, 14 May 2008 23:36:26 +0000 (+0000) Subject: Move the CURLDEBUG check after setup.h so it can be set there if necessary. X-Git-Tag: curl-7_18_2~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08aab6a6206790abfdc9564ed727df8e70378c26;p=thirdparty%2Fcurl.git Move the CURLDEBUG check after setup.h so it can be set there if necessary. --- diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 3a2886bc40..ed9977b276 100644 --- a/lib/config-symbian.h +++ b/lib/config-symbian.h @@ -790,3 +790,9 @@ /* the signed version of size_t */ /* #undef ssize_t */ + +/* Enabling curl debug mode when building in Symbian debug mode would work */ +/* except that debug mode introduces new exports that must be frozen. */ +#ifdef _DEBUG +/* #define CURLDEBUG */ +#endif diff --git a/lib/memdebug.c b/lib/memdebug.c index 96496b1fac..7742d5e1c4 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -1,4 +1,3 @@ -#ifdef CURLDEBUG /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -24,6 +23,7 @@ #include "setup.h" +#ifdef CURLDEBUG #include #ifdef HAVE_SYS_SOCKET_H