Commit 12e6a53b authored by Christian Heimes's avatar Christian Heimes

get 64bit platforms without uint64 right again

parent d3769860
......@@ -98,9 +98,11 @@
#ifdef __sparc
/* On SPARC with Solaris CC opt64 fails with 'invalid address alignment' */
#define KeccakOpt 32
#elif SIZEOF_VOID_P == 8
#elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T)
/* opt64 works only for 64bit platforms with unsigned int64 */
#define KeccakOpt 64
#elif SIZEOF_VOID_P == 4
#else
/* opt32 is used for the remaining 32 and 64bit platforms */
#define KeccakOpt 32
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment