summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-07-03 19:23:06 +0300
committerunknown <monty@narttu.mysql.fi>2003-07-03 19:23:06 +0300
commitabe124e76bc12d3cefe5502ad1799461090c7365 (patch)
tree763b9a64f7ae82fd4526acdc1cfff89969efca53 /include
parentfa609f49a2e5b8d9268c9d7ab74574d853979d25 (diff)
downloadmariadb-git-abe124e76bc12d3cefe5502ad1799461090c7365.tar.gz
Fix for UNIXWARE 7
Remove unaligned warnings on Ia64 from client library when using --host Fix for replication when using many file descriptors include/my_global.h: Fix for UNIXWARE 7 libmysql/libmysql.c: Portability fix (removes unaligned warnings on Ia64) mysql-test/r/symlink.result: Updated results sql/mini_client.cc: Ported connect timeout code from libmysql.c
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 673e5a22868..5ad12fc1f15 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -43,6 +43,10 @@
#define HAVE_ERRNO_AS_DEFINE
#endif /* __CYGWIN__ */
+#if defined(i386) && !defined(__i386__)
+#define __i386__
+#endif
+
/* Macros to make switching between C and C++ mode easier */
#ifdef __cplusplus
#define C_MODE_START extern "C" {
@@ -145,6 +149,10 @@ double my_ulonglong2double(unsigned long long A);
C_MODE_END
#endif /* _AIX */
+#ifdef UNIXWARE_7
+#define pthread_attr_setstacksize(A,B) /* setting stack breaks things */
+#endif
+
#ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */
#undef HAVE_SNPRINTF
#endif