Skip to content

Commit ac28c63

Browse files
committed
hash: Older compiler thinks inline function is to be static
1 parent 55a4344 commit ac28c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hash/murmur/endianness.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ static const union {
22
uint8_t u8[2];
33
uint16_t u16;
44
} EndianMix = {{ 1, 0 }};
5-
FORCE_INLINE int IsBigEndian()
5+
static FORCE_INLINE int IsBigEndian()
66
{
77
// Constant-folded by the compiler.
88
return EndianMix.u16 != 1;

0 commit comments

Comments
 (0)