Move DEBUG() from Utils.h into new ZNCDebug.h

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-04-03 10:41:27 +02:00
parent 0e0ab34773
commit ac5c021c93
9 changed files with 81 additions and 50 deletions

17
ZNCDebug.cpp Normal file
View File

@@ -0,0 +1,17 @@
/*
* Copyright (C) 2004-2011 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "ZNCDebug.h"
bool CDebug::stdoutIsTTY = true;
bool CDebug::debug =
#ifdef _DEBUG
true;
#else
false;
#endif