Workaround for compiler warnings when console disabled.
This commit is contained in:
parent
f108623011
commit
b110884a6d
3 changed files with 12 additions and 7 deletions
|
|
@ -18,7 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifndef NODEBUG_H
|
||||
#define NODEBUG_H 1
|
||||
|
||||
#if !defined(NO_DEBUG)
|
||||
#define NO_DEBUG
|
||||
#endif
|
||||
#include "debug.h"
|
||||
#undef NO_DEBUG
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue