Re: [OpenWrt-Devel] otrx: musl (?) compiles it as for big endian arch on bcm53xx

2015-06-21 Thread Szabolcs Nagy
* Rafa?? Mi??ecki  [2015-06-20 23:26:22 +0200]:
> When compiling otrx packages on bcm53xx the following condition is true:
> #if __BYTE_ORDER == __BIG_ENDIAN
> 
> It results in not working otrx app. I suspect it's a regression since
> switching to musl.
> 
> Any ideas?

musl does not include endian.h into random standard headers

so if you don't include endian.h directly both macros will be 0
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] otrx: musl (?) compiles it as for big endian arch on bcm53xx

2015-06-20 Thread Rafał Miłecki
When compiling otrx packages on bcm53xx the following condition is true:
#if __BYTE_ORDER == __BIG_ENDIAN

It results in not working otrx app. I suspect it's a regression since
switching to musl.

Any ideas?

-- 
Rafał
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel