From: steudten Date: Mon, 5 Nov 2001 21:42:41 +0000 (+0000) Subject: Include DBG() macro. X-Git-Tag: v_2_9_10~44 X-Git-Url: http://www.privoxy.org/gitweb/installation.html?a=commitdiff_plain;h=388e7f59095f7682df50c0ed9fe0fccee66e21ed;p=privoxy.git Include DBG() macro. --- diff --git a/project.h b/project.h index 6f736e9e..8ad474e0 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED -#define PROJECT_H_VERSION "$Id: project.h,v 1.40 2001/10/26 17:40:47 oes Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.41 2001/10/28 19:12:06 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,9 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.41 2001/10/28 19:12:06 jongfoster + * Adding ijb_toupper() + * * Revision 1.40 2001/10/26 17:40:47 oes * Moved ijb_isspace and ijb_tolower to project.h * Removed http->user_agent, csp->referrer and csp->accept_types @@ -356,6 +359,14 @@ extern "C" { #endif +#ifdef _DEBUG +extern int ldebug; +#define DBG(a,b) { if ( ldebug >= a ) { printf b ; }} +#else +#define DBG(a,b) +#endif /* _DEBUG */ + + /* * Error codes. Functions returning these should return a jb_err