mirror of
https://github.com/znc/znc.git
synced 2026-07-05 17:31:06 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user