From: <ps...@us...> - 2009-02-18 16:10:53
|
Revision: 1385 http://znc.svn.sourceforge.net/znc/?rev=1385&view=rev Author: psychon Date: 2009-02-18 16:10:32 +0000 (Wed, 18 Feb 2009) Log Message: ----------- Get rid of the DEBUG_ONLY define Modified Paths: -------------- trunk/Utils.h Modified: trunk/Utils.h =================================================================== --- trunk/Utils.h 2009-02-17 16:56:46 UTC (rev 1384) +++ trunk/Utils.h 2009-02-18 16:10:32 UTC (rev 1385) @@ -22,13 +22,11 @@ using std::vector; #ifdef _DEBUG -#define DEBUG_ONLY(f) f +#define DEBUG(f) (cout << f << endl) #else -#define DEBUG_ONLY(f) ((void)0) +#define DEBUG(f) ((void)0) #endif -#define DEBUG(f) DEBUG_ONLY(cout << f << endl) - static inline void SetFdCloseOnExec(int fd) { int flags = fcntl(fd, F_GETFD, 0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |