diff options
author | unknown <iggy@amd64.(none)> | 2008-04-28 14:58:32 -0400 |
---|---|---|
committer | unknown <iggy@amd64.(none)> | 2008-04-28 14:58:32 -0400 |
commit | 57036d8a7193936682f4fe737683f965182d993c (patch) | |
tree | 6a206281413f8d4feaeca1a444327e3007d17b8c /include/my_global.h | |
parent | 8def2e0993e8b0acbff48b6f345d20ba033de21b (diff) | |
download | mariadb-git-57036d8a7193936682f4fe737683f965182d993c.tar.gz |
Correct failing build.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index b0a26e67d9b..e474b620d27 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -533,8 +533,12 @@ C_MODE_END #undef DBUG_OFF #endif -#if defined(_lint) && !defined(DBUG_OFF) -#define DBUG_OFF +/* We might be forced to turn debug off, if not turned off already */ +#if (defined(FORCE_DBUG_OFF) || defined(_lint)) && !defined(DBUG_OFF) +# define DBUG_OFF +# ifdef DBUG_ON +# undef DBUG_ON +# endif #endif #include <my_dbug.h> |