Fix for big endian machines

This commit is contained in:
Glenn L McGrath 2003-02-17 12:18:16 +00:00
parent ae0f1e7052
commit 008c01915b

View File

@ -29,10 +29,10 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <endian.h>
#include "busybox.h" #include "busybox.h"
#ifdef WORDS_BIGENDIAN #if __BYTE_ORDER == __BIG_ENDIAN
# define SWAP(n) (n) # define SWAP(n) (n)
#else #else
# define SWAP(n) \ # define SWAP(n) \