Fix for big endian machines
This commit is contained in:
parent
ae0f1e7052
commit
008c01915b
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user