diff options
author | monty@hundin.mysql.fi <> | 2002-06-30 18:57:21 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-30 18:57:21 +0300 |
commit | f87efa928b807a03c83b75a87f0d773e4bc8eb68 (patch) | |
tree | c1bcaea9558c224371254c107ba497d9242758b7 /include/my_global.h | |
parent | e5b02fbe6efd6c88a485a50fde2f44837c55f6bc (diff) | |
download | mariadb-git-f87efa928b807a03c83b75a87f0d773e4bc8eb68.tar.gz |
Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 2ad8a870048..c13b79cbc1f 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -150,6 +150,13 @@ #define __LONG_MAX__ 2147483647 #endif +/* Fix problem when linking c++ programs with gcc 3.x */ +#ifdef DEFINE_CXA_PURE_VIRTUAL +#define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {} } +#else +#define FIX_GCC_LINKING_PROBLEM +#endif + /* egcs 1.1.2 has a problem with memcpy on Alpha */ #if defined(__GNUC__) && defined(__alpha__) && ! (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)) #define BAD_MEMCPY |