X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44af1866aa41cfbbad48583106cb82201ded4fcb..a143751bb56550e535784929e4e6402bdc4b959c:/tools/sstrip/src/sstrip.c diff --git a/tools/sstrip/src/sstrip.c b/tools/sstrip/src/sstrip.c index 60c12c972..6607d1250 100644 --- a/tools/sstrip/src/sstrip.c +++ b/tools/sstrip/src/sstrip.c @@ -60,32 +60,6 @@ #include #include -#ifdef __FreeBSD__ -/** - * This seems to work on FreeBSD 5.3, should - * work on all newer versions as well. I have - * no idea if it will work on versions < 5.3 - * - * Joe Estock (guru) - */ -#include -#define bswap_64 __bswap64 -#define bswap_32 __bswap32 -#define bswap_16 __bswap16 -#elif 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 - - #ifndef TRUE #define TRUE 1 #define FALSE 0