openbsd-ports/www/dillo/patches/patch-src_debug_h
couderc 2c898eca3f Initial import of www/dillo
--
Dillo is a graphical web browser that's completely written in C,
very fast, small in code and binary. It basically depends on GTK+,
and renders a good subset of HTML, frames are managed same as lynx,
no jvm, no javascript.
2002-03-18 14:31:20 +00:00

33 lines
820 B
Plaintext

$OpenBSD: patch-src_debug_h,v 1.1.1.1 2002/03/18 14:31:20 couderc Exp $
--- src/debug.h.orig Thu Mar 14 15:16:40 2002
+++ src/debug.h Thu Mar 14 15:17:34 2002
@@ -14,25 +14,15 @@
#include <glib.h>
-# ifdef DEBUG_LEVEL
-# define DEBUG_MSG(level, fmt...) \
- ( (DEBUG_LEVEL) && ((level) >= DEBUG_LEVEL) ) ? \
- g_print(fmt) : (level)
-# else
-# define DEBUG_MSG(level, fmt...)
-# endif /* DEBUG_LEVEL */
+#define DEBUG_MSG(level, fmt...)
#define DEBUG_HTML_WARN 1
-# ifdef DEBUG_HTML_WARN
-# define DEBUG_HTML_MSG(fmt...) g_print("HTML warning: " fmt)
-# else
-# define DEBUG_HTML_MSG(fmt...)
-# endif /* DEBUG_HTML_WARN */
+#define DEBUG_HTML_MSG(fmt...)
-#define DEBUG_HTTP_MSG(fmt...) g_print("HTTP warning: " fmt)
+#define DEBUG_HTTP_MSG(fmt...)
#endif /* __DEBUG_H__ */