Get rid of the DEBUG_ONLY define

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1385 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-02-18 16:10:32 +00:00
parent 614999811f
commit 6c87e17789
+2 -4
View File
@@ -22,13 +22,11 @@ using std::map;
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);