]> git.ozlabs.org Git - ccan/commitdiff
endian: fix compilation with musl libc.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 10 May 2018 02:25:59 +0000 (11:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 10 May 2018 02:25:59 +0000 (11:55 +0930)
It defines __BYTE_ORDER to __BYTE_ORDER__; gcc complains when we define
it to something else.  Let it be already defined, but check that the
value is what we expect.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found