aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-07 13:57:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-07 13:57:07 +0000
commit9c5f79c56afe2afccd67c6f761d8f409d7222012 (patch)
tree67db53a9256e9d52420ea74423bb9b3e36fbe4b0 /lib/setup.h
parentef5eea689a0cf2105eadf5053f72745f23fa7e29 (diff)
DEBUGF() is a new conveniant macro to add infof() calls (or similar) for
debug builds only. Made the ftp code use it on several places.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 8ec4649af..201e783d5 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -295,4 +295,10 @@ typedef int curl_socket_t;
#define USE_NTLM
#endif
+#ifdef CURLDEBUG
+#define DEBUGF(x) x
+#else
+#define DEBUGF(x)
+#endif
+
#endif /* __CONFIG_H */