Thread (67 messages) flat view 67 messages, 8 authors, 2016-06-15

Re: [PATCH 3/3] ewah: support platforms that require aligned reads

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:59:44

Vicent Martí wrote:
On Fri, Jan 24, 2014 at 12:44 AM, Jonathan Nieder [off-list ref] wrote:
quoted
quoted
+#if __BYTE_ORDER != __BIG_ENDIAN
Is this portable?
We explicitly set the __BYTE_ORDER macros in `compat/bswap.h`. In
fact, this preprocessor conditional is the same one that we use when
choosing what version of the `ntohl` macro to define, so that's why I
decided to use it here.
Ah, thanks.  Sorry I missed that.  So feel free to add my reviewed-by
to the patch without my tweak, too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help