summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-06-22 17:35:34 +0200
committerunknown <lenz@mysql.com>2004-06-22 17:35:34 +0200
commit5f1cd43e68c958a11d797ad37c7dd6d5b2f8714a (patch)
tree3b890e31116fc3ed7d1a9ff2447cedf671a48d85 /mysys
parent28ac14c39ba78214ac72043340a3f60a108cbf48 (diff)
downloadmariadb-git-5f1cd43e68c958a11d797ad37c7dd6d5b2f8714a.tar.gz
- Applied some portability fixes for SGI IRIX/MipsPro compiler
(e.g. a fix for BUG#3507 and some modifications recommended by Andrea Suatoni and Joerg Behrens - thank you!) acinclude.m4: - OpenSSL libs are installed in /usr/freeware/include and /usr/freeware/lib32 on SGI IRIX - expanded search list man/mysqlaccess.1.in: - cosmetical fix man/mysqldump.1.in: - cosmetical fix mysys/hash.c: - portability fix: some compilers can't handle inlining of rec_hashnr (BUG#3507) vio/test-sslserver.c: - portability fix for SGI MipsPro compiler: define client_len as "socklen_t" instead of "size_t"
Diffstat (limited to 'mysys')
-rw-r--r--mysys/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index 3afd31a079b..12389e3cf1c 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -182,7 +182,7 @@ uint calc_hashnr_caseup(const byte *key, uint len)
#endif
-#ifndef __SUNPRO_C /* SUNPRO can't handle this */
+#if !defined(__SUNPRO_C) && !defined(__USLC__) && !defined(__sgi) /* broken compilers */
inline
#endif
unsigned int rec_hashnr(HASH *hash,const byte *record)