diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-10-23 20:54:33 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-07-25 15:53:04 -0400 |
commit | 8757ed9b11519b7220e61e4765e36bd68345b6ec (patch) | |
tree | 2566340b1cce88f03e0cd1c1b327afe4c84af26d /hv_func.h | |
parent | b2e53f8c24a0cbc953dd050caf9e040731252cc6 (diff) | |
download | perl-8757ed9b11519b7220e61e4765e36bd68345b6ec.tar.gz |
There's no READ_UINT32.
(relic of some earlier code?)
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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))) |