summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlenz@mysql.com <>2004-06-15 14:49:25 +0200
committerlenz@mysql.com <>2004-06-15 14:49:25 +0200
commitb35072e4379d2d4ccecfef8c62604fa4a10f51c0 (patch)
tree2faa70214d5089f7c8a9aeb079c2e34b6061242b
parentbf64b09a0951ab213eb99968619011ca270da143 (diff)
parent14ace68c98b17364618f4f4b96add15cbc110d10 (diff)
downloadmariadb-git-b35072e4379d2d4ccecfef8c62604fa4a10f51c0.tar.gz
Merge mysql.com:/space/my/mysql-4.1
into mysql.com:/space/my/mysql-4.1-build
-rw-r--r--include/my_dbug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index d02ea5bf050..bc90b91f1c7 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -16,6 +16,9 @@
#ifndef _dbug_h
#define _dbug_h
+#ifdef DBUG_OFF
+#define NDEBUG /* for assert.h */
+#endif
#include <assert.h>
#ifdef __cplusplus
extern "C" {