summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2006-09-06 17:10:58 -0400
committercmiller@zippy.cornsilk.net <>2006-09-06 17:10:58 -0400
commit461afda9bb889db0758ddba70d5fe414d6444d37 (patch)
treeba26cea85b21536da63fd1881dc50f5f7c2a8699 /dbug
parent8fdffd1b75ca50c77790d3d5f198599892558a40 (diff)
downloadmariadb-git-461afda9bb889db0758ddba70d5fe414d6444d37.tar.gz
Fix build problem for when not compiled with debugging.
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 831c69bcdfb..ce692552045 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -71,9 +71,7 @@
*
*/
-#ifdef DBUG_OFF
-#undef DBUG_OFF
-#endif
+
#include <my_global.h>
#include <m_string.h>
#include <errno.h>
@@ -81,6 +79,10 @@
#include <process.h>
#endif
+
+#ifndef DBUG_OFF
+
+
/*
* Manifest constants which may be "tuned" if desired.
*/
@@ -313,6 +315,7 @@ static unsigned long Clock(void);
#define ChangeOwner(cs,name)
#endif
+
/*
** Macros to allow dbugging with threads
*/
@@ -2351,3 +2354,5 @@ va_list ap;
}
#endif /* NO_VARARGS */
+
+#endif