summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-07-15 13:33:56 +0200
committerunknown <lenz@mysql.com>2002-07-15 13:33:56 +0200
commitf9232ee50342699ddc1e43909ab2fed09db13766 (patch)
tree6ea8f94adc277510ee95c6b505ea9aaeba4364d1 /include
parent3814a0ff761cb486925beead1751af7a74fc7881 (diff)
downloadmariadb-git-f9232ee50342699ddc1e43909ab2fed09db13766.tar.gz
Added some patches provided by SuSE to fix build problems on
ppc64 and x86-64, fixed a compile bug when building with TCP wrapper support on Linux bdb/dist/acconfig.h: Added patch for x86_64 (provided by SuSE) bdb/dist/aclocal/mutex.m4: Added patch for x86_64 (provided by SuSE) bdb/include/mutex.h: Added patch for x86_64 (provided by SuSE) include/global.h: Added a SMP-related patch for PPC64 (provided by SuSE) sql/mysqld.cc: Compile fix for Linux when compiling with --with-librwap
Diffstat (limited to 'include')
-rw-r--r--include/global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index a58179e6759..61e00df375d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -139,7 +139,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
@@ -200,6 +200,7 @@
#endif
#ifdef HAVE_ATOMIC_ADD
#define __SMP__
+#define CONFIG_SMP
#include <asm/atomic.h>
#endif