[OpenWrt-Devel] otrx: musl (?) compiles it as for big endian arch on bcm53xx
Szabolcs Nagy
nsz at port70.net
Sun Jun 21 13:09:12 EDT 2015
* Rafa?? Mi??ecki <zajec5 at gmail.com> [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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list