Move the CURLDEBUG check after setup.h so it can be set there if necessary.
authorDan Fandrich <dan@coneharvesters.com>
Wed, 14 May 2008 23:36:26 +0000 (23:36 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 14 May 2008 23:36:26 +0000 (23:36 +0000)
lib/config-symbian.h
lib/memdebug.c

index 3a2886b..ed9977b 100644 (file)
 
 /* 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
index 96496b1..7742d5e 100644 (file)
@@ -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