From 8757ed9b11519b7220e61e4765e36bd68345b6ec Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 23 Oct 2014 20:54:33 -0400 Subject: There's no READ_UINT32. (relic of some earlier code?) --- hv_func.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hv_func.h') diff --git a/hv_func.h b/hv_func.h index 708c6c795d..b7d68e81c8 100644 --- a/hv_func.h +++ b/hv_func.h @@ -100,7 +100,7 @@ * are only needed to help derive these 3. * * U8TO32_LE(x) Read a little endian unsigned 32-bit int - * UNALIGNED_SAFE Defined if READ_UINT32 works on non-word boundaries + * UNALIGNED_SAFE Defined if unaligned access is safe * ROTL32(x,r) Rotate x left by r bits */ @@ -114,8 +114,6 @@ +((const U8 *)(d))[0]) #endif - -/* Now find best way we can to READ_UINT32 */ #if (BYTEORDER == 0x1234 || BYTEORDER == 0x12345678) && U32SIZE == 4 /* CPU endian matches murmurhash algorithm, so read 32-bit word directly */ #define U8TO32_LE(ptr) (*((U32*)(ptr))) -- cgit v1.2.1