From e2e0eb3bc04623fb47cf13106750c72621f55a13 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 Jun 2004 17:35:34 +0200 Subject: - 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" --- mysys/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys') 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) -- cgit v1.2.1 From 1f9209cc0430d4870c7a344e438ca5eeb931002b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 Jun 2004 17:54:38 +0200 Subject: - rephrased comment --- mysys/hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysys') diff --git a/mysys/hash.c b/mysys/hash.c index 12389e3cf1c..973f6f7cefa 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -182,7 +182,8 @@ uint calc_hashnr_caseup(const byte *key, uint len) #endif -#if !defined(__SUNPRO_C) && !defined(__USLC__) && !defined(__sgi) /* broken compilers */ +/* for compilers which can not handle inline */ +#if !defined(__SUNPRO_C) && !defined(__USLC__) && !defined(__sgi) inline #endif unsigned int rec_hashnr(HASH *hash,const byte *record) -- cgit v1.2.1