diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-14 22:11:21 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-14 22:11:21 +0000 |
commit | 6d32c25e55533ffe115413ce0aed2474a0a4ccf1 (patch) | |
tree | e8e160c31846fd6347e60c16288cd184e6dba7c3 /tools/sstrip/src | |
parent | adc7008fe2d5c59b411a67dd26a98a1fc3bfb53c (diff) |
cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5097 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/sstrip/src')
-rw-r--r-- | tools/sstrip/src/sstrip.c | 26 |
1 files changed, 0 insertions, 26 deletions
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 <fcntl.h> #include <elf.h> -#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) <jestock at nutextonline.com> - */ -#include <sys/endian.h> -#define bswap_64 __bswap64 -#define bswap_32 __bswap32 -#define bswap_16 __bswap16 -#elif defined(__APPLE__) -#include <machine/endian.h> -#include <machine/byte_order.h> -#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 <endian.h> -#include <byteswap.h> -#endif - - #ifndef TRUE #define TRUE 1 #define FALSE 0 |