summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMats Kindahl <mats@mysql.com>2008-08-22 12:40:21 +0200
committerMats Kindahl <mats@mysql.com>2008-08-22 12:40:21 +0200
commit77b7ad33986c84fb7183890a3dd17d69af10b2af (patch)
tree08c21d059849cad6cc8d0abd2edf15881718a197 /include
parent25bb56accb525f98b38138630b0d4b17879b84b2 (diff)
downloadmariadb-git-77b7ad33986c84fb7183890a3dd17d69af10b2af.tar.gz
Fixning compiler warnings. Fixing build failure for valgrind platform.
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h3
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