diff options
author | Mats Kindahl <mats@mysql.com> | 2008-08-22 12:40:21 +0200 |
---|---|---|
committer | Mats Kindahl <mats@mysql.com> | 2008-08-22 12:40:21 +0200 |
commit | 77b7ad33986c84fb7183890a3dd17d69af10b2af (patch) | |
tree | 08c21d059849cad6cc8d0abd2edf15881718a197 /include | |
parent | 25bb56accb525f98b38138630b0d4b17879b84b2 (diff) | |
download | mariadb-git-77b7ad33986c84fb7183890a3dd17d69af10b2af.tar.gz |
Fixning compiler warnings. Fixing build failure for valgrind platform.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 6cfc4d67305..c6ac90d4a34 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1130,6 +1130,9 @@ typedef char bool; /* Ordinary boolean values 0 1 */ #define dbug_volatile #endif +/* Some helper macros */ +#define YESNO(X) ((X) ? "yes" : "no") + /* Defines for time function */ #define SCALE_SEC 100 #define SCALE_USEC 10000 |