diff options
author | ramil@ram-book.(none) <> | 2005-05-09 18:33:21 +0500 |
---|---|---|
committer | ramil@ram-book.(none) <> | 2005-05-09 18:33:21 +0500 |
commit | 8d30d300730699c7f44afcb6e2fb76df6b8e3510 (patch) | |
tree | e251840779bde10b346eb397fc1f42efcbb74862 /include | |
parent | fee81b6d970025b1acb6ce328f8181ec6d4f5b55 (diff) | |
download | mariadb-git-8d30d300730699c7f44afcb6e2fb76df6b8e3510.tar.gz |
a fix (bug #10438: Raid stopped working because of change in atomic add detection).
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index a9468f6561e..62c6a5d1e4a 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -287,9 +287,15 @@ C_MODE_START int __cxa_pure_virtual() {\ #ifndef CONFIG_SMP #define CONFIG_SMP #endif +#if defined(__ia64__) +#define new my_arg_new +#endif C_MODE_START #include <asm/atomic.h> C_MODE_END +#if defined(__ia64__) +#undef new +#endif #endif #include <errno.h> /* Recommended by debian */ /* We need the following to go around a problem with openssl on solaris */ |