--- pyhash.c.orig 2014-01-07 15:10:14.751295428 +0100 +++ pyhash.c 2014-01-07 15:03:36.131397132 +0100 @@ -330,6 +330,7 @@ * value on all platforms. It is also required to for a good dispersion of * the hash values' least significant bits. */ +/* #if PY_LITTLE_ENDIAN # define _le64toh(x) ((PY_UINT64_T)(x)) #elif defined(__APPLE__) @@ -346,6 +347,10 @@ (((PY_UINT64_T)(x) >> 40) & 0xff00ULL) | \ ((PY_UINT64_T)(x) >> 56)) #endif +*/ + +#include +# define _le64toh(x) le64toh(x) #ifdef _MSC_VER # define ROTATE(x, b) _rotl64(x, b)