summaryrefslogtreecommitdiff
path: root/hv_func.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-10-23 20:54:33 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-07-25 15:53:04 -0400
commit8757ed9b11519b7220e61e4765e36bd68345b6ec (patch)
tree2566340b1cce88f03e0cd1c1b327afe4c84af26d /hv_func.h
parentb2e53f8c24a0cbc953dd050caf9e040731252cc6 (diff)
downloadperl-8757ed9b11519b7220e61e4765e36bd68345b6ec.tar.gz
There's no READ_UINT32.
(relic of some earlier code?)
Diffstat (limited to 'hv_func.h')
-rw-r--r--hv_func.h4
1 files changed, 1 insertions, 3 deletions
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)))