smhasher
smhasher copied to clipboard
PMurHash.c on Solaris
On Solaris, with native cc, _BIG_ENDIAN or _LITTLE_ENDIAN is #define'd, but
just #define'd; there is no numeric value. This causes tests like
(_BIG_ENDIAN==1) (PMurHash.c:96) to fail with a "missing operand".
Perhaps choose BIG if _BIG_ENDIAN is defined and _LITTLE_ENDIAN is not defined,
and vice versa. Using (_BIG_ENDIAN+0==1) should get around the syntax problem
for that part of the test.
Original issue reported on code.google.com by [email protected] on 15 Oct 2014 at 8:48