On 10. Aug 2021, at 19.54, Michael Ströder <mich...@stroeder.com> wrote: > > Timo, > > On 8/10/21 5:55 PM, Timo Sirainen wrote: >> Well, that's annoying. I thought it would have worked. I wonder if it's >> still some issue with the #if not being right. Can you try once more >> with disabling the #if lines, i.e. just: > > It's currently still building on other big-endian platforms. But at > least S/390 succeeded. (All low-endian platforms now fail but that's > expected.)
The attached patch should work. TIME_T_BITS was originally typoed, should have been TIME_T_MAX_BITS. But even that isn't really a good way to check it. SIZEOF_VOID_P == 8 should work well enough.
mail-cache-bigendian.diff
Description: Binary data