summaryrefslogtreecommitdiff
path: root/include/dbug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dbug.h')
-rw-r--r--include/dbug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dbug.h b/include/dbug.h
index de6bbc66ed7..d86b83f4de8 100644
--- a/include/dbug.h
+++ b/include/dbug.h
@@ -66,6 +66,7 @@ extern void _db_unlock_file();
#define DEBUGGER_ON _no_db_=0
#define DBUG_LOCK_FILE { _db_lock_file(); }
#define DBUG_UNLOCK_FILE { _db_unlock_file(); }
+#define DBUG_ASSERT(A) A
#else /* No debugger */
#define DBUG_ENTER(a1)
@@ -85,6 +86,7 @@ extern void _db_unlock_file();
#define DEBUGGER_ON
#define DBUG_LOCK_FILE
#define DBUG_UNLOCK_FILE
+#define DBUG_ASSERT(A) {}
#endif
#ifdef __cplusplus
}