diff options
author | msvensson@neptunus.(none) <> | 2006-06-12 13:07:40 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-06-12 13:07:40 +0200 |
commit | 4ca95f911a5e5c74bb3fcb1141d1ddd065aa9ed0 (patch) | |
tree | ae02ad57959a095875f4ac4195bc20a506b07167 /dbug | |
parent | 76f066aa3290e6469ce08a18bfd4fa4ebef5479d (diff) | |
download | mariadb-git-4ca95f911a5e5c74bb3fcb1141d1ddd065aa9ed0.tar.gz |
Bug#19517 No simple way to detect wether server was compiled with libdbug
- Define DBUG_ON and DBUG_OFF in config.h
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/dbug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c index c991daf3617..575481305e7 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -66,10 +66,13 @@ * Check of malloc on entry/exit (option "S") */ +#include <my_global.h> + +/* This file won't compile unless DBUG_OFF is undefined locally */ #ifdef DBUG_OFF #undef DBUG_OFF #endif -#include <my_global.h> + #include <m_string.h> #include <errno.h> #if defined(MSDOS) || defined(__WIN__) |