summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorlenz@mysql.com <>2002-10-01 21:57:10 +0200
committerlenz@mysql.com <>2002-10-01 21:57:10 +0200
commit3cf7acb7567554a0bc7623d13172d47f9f0a0552 (patch)
tree1498636efd6a0835df79c54a9044e3f8215d61cb /include/my_global.h
parent3aa161d240dccbf71fa3ab233bfe88025b8a0859 (diff)
downloadmariadb-git-3cf7acb7567554a0bc7623d13172d47f9f0a0552.tar.gz
- Applied required modifications for automake 1.5
- some additional small fixes - added "depcomp" for automake 1.5
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 8524328a47b..d1b3c516555 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -161,7 +161,7 @@
#endif
/* In Linux-ia64 including atomic.h will give us an error */
-#if (defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && defined(__ia64__)) || !defined(THREAD)
+#if (defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && (defined(__ia64__)||defined(__powerpc64__))) || !defined(THREAD)
#undef HAVE_ATOMIC_ADD
#undef HAVE_ATOMIC_SUB
#endif
@@ -228,6 +228,7 @@
#endif
#ifdef HAVE_ATOMIC_ADD
#define __SMP__
+#define CONFIG_SMP
#include <asm/atomic.h>
#endif