summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/hash.c3
1 files changed, 2 insertions, 1 deletions
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)