summaryrefslogtreecommitdiffstats
path: root/src/libavoid/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libavoid/debug.h')
-rw-r--r--src/libavoid/debug.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libavoid/debug.h b/src/libavoid/debug.h
index 1a6879e85..1312c5458 100644
--- a/src/libavoid/debug.h
+++ b/src/libavoid/debug.h
@@ -24,13 +24,7 @@
#define AVOID_DEBUG_H
-
-#ifndef NDEBUG
- //#define DBPRINTF_DEBUG
-#endif
-
-
-#ifdef DBPRINTF_DEBUG
+#ifdef LIBAVOID_DEBUG
#include <stdarg.h>
#include <iostream>
@@ -39,7 +33,7 @@
namespace Avoid {
-#ifdef DBPRINTF_DEBUG
+#ifdef LIBAVOID_DEBUG
inline void db_printf(const char *fmt, ...)
{
va_list ap;