summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorlenz@mysql.com <>2004-06-22 17:35:34 +0200
committerlenz@mysql.com <>2004-06-22 17:35:34 +0200
commit4740e8b2b7ad157389adfcddf2d17338160c9ae2 (patch)
tree3b890e31116fc3ed7d1a9ff2447cedf671a48d85 /mysys
parent6adefe41a4c25cb1a536dd01d845d12f649f3c8f (diff)
downloadmariadb-git-4740e8b2b7ad157389adfcddf2d17338160c9ae2.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!)
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)