aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-14 23:36:26 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-14 23:36:26 +0000
commit08aab6a6206790abfdc9564ed727df8e70378c26 (patch)
treeae8041f4ce5bcfdb363d8458b0eec1adee65be2d
parent2748c64d605b19fb419ae56810ad8da36487a2d4 (diff)
Move the CURLDEBUG check after setup.h so it can be set there if necessary.
-rw-r--r--lib/config-symbian.h6
-rw-r--r--lib/memdebug.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/config-symbian.h b/lib/config-symbian.h
index 3a2886bc4..ed9977b27 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 96496b1fa..7742d5e1c 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