summaryrefslogtreecommitdiff
path: root/insert_string_tpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'insert_string_tpl.h')
-rw-r--r--insert_string_tpl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/insert_string_tpl.h b/insert_string_tpl.h
index a5c3abf384..f8318e4e00 100644
--- a/insert_string_tpl.h
+++ b/insert_string_tpl.h
@@ -20,13 +20,7 @@
*/
#ifndef HASH_CALC_READ
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define HASH_CALC_READ \
- val = zng_memread_4(strstart);
-# else
-# define HASH_CALC_READ \
- val = ZSWAP32(zng_memread_4(strstart));
-# endif
+# define HASH_CALC_READ val = Z_U32_FROM_LE(zng_memread_4(strstart));
#endif
/* ===========================================================================