diff options
author | konstantin@mysql.com <> | 2004-03-15 22:39:36 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-03-15 22:39:36 +0300 |
commit | 36120d420a56c336a4fbf3069d91455e4118798b (patch) | |
tree | ba7fc5cf4c332be3608b598166cd8dae2b856d02 /include/my_global.h | |
parent | e43ac76094dbab6551aed0ffb41186d80a15b1ca (diff) | |
download | mariadb-git-36120d420a56c336a4fbf3069d91455e4118798b.tar.gz |
Fix of compilation failure of latest 4.1 tree: new constants in mysqld.cc
exceed unsigned long limit.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 2a82173979d..4a56741ddbc 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -842,6 +842,14 @@ typedef char bool; /* Ordinary boolean values 0 1 */ #endif #endif +#ifndef ULL +#ifdef HAVE_LONG_LONG +#define ULL(A) A ## ULL +#else +#define ULL(A) A ## UL +#endif +#endif + /* Defines to make it possible to prioritize register assignments. No longer that important with modern compilers. |