diff --git a/lib/config-symbian.h b/lib/config-symbian.h index 3a2886bc4044920454608eddb2e063518ed2739d..ed9977b2766008d256a8227d8eea943c65ec5067 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 96496b1facb85810f72971c610003e985e4379b8..7742d5e1c427ecfdea791e722f0d077a22dfe1fc 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 <curl/curl.h> #ifdef HAVE_SYS_SOCKET_H