summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-02-10 10:07:54 -0500
committerChad MILLER <chad@mysql.com>2009-02-10 10:07:54 -0500
commit52db1b81535add86f3163745b91985c9feab0ece (patch)
treea67460caf38416ff560e0c9d877ad73b54d378c0 /include/my_global.h
parent0d2fecc9779c71bb9b2e214efad369a6f07f69c6 (diff)
parent29f898bb64349f46bde6c61badaf47bccd1183c1 (diff)
downloadmariadb-git-52db1b81535add86f3163745b91985c9feab0ece.tar.gz
Merge from bugteam team tree.
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index feabb714004..8c25cbf802e 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -723,7 +723,6 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define UNSINT32 /* unsigned int32 */
/* General constants */
-#define SC_MAXWIDTH 256 /* Max width of screen (for error messages) */
#define FN_LEN 256 /* Max file name len */
#define FN_HEADLEN 253 /* Max length of filepart of file name */
#define FN_EXTLEN 20 /* Max length of extension (part of FN_LEN) */
@@ -1132,6 +1131,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