X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Futils%2Fsrc%2Ftrx.c;h=787ffa894626ea2cac72c2261a8bda0ae9791a0e;hb=3e3c12b84be7e7a75c08c5e436f9065e71cdff16;hp=abc9bc93c4111fe06d9edcd8a82d5d6705851c7e;hpb=f52d66ff00b24111f87c274d3d7085ef2e1d27b1;p=openwrt-10.03%2F.git diff --git a/target/utils/src/trx.c b/target/utils/src/trx.c index abc9bc93c..787ffa894 100644 --- a/target/utils/src/trx.c +++ b/target/utils/src/trx.c @@ -44,18 +44,6 @@ #include #include #include -#if defined(__APPLE__) -#include -#include -#define __BYTE_ORDER BYTE_ORDER -#define __BIG_ENDIAN BIG_ENDIAN -#define bswap_16(x) NXSwapShort(x) -#define bswap_32(x) NXSwapInt(x) -#define bswap_64(x) NXSwapLongLong(x) -#else -#include -#include -#endif #if __BYTE_ORDER == __BIG_ENDIAN #define STORE32_LE(X) bswap_32(X)