diff options
author | Rob Landley | 2006-01-23 21:38:06 +0000 |
---|---|---|
committer | Rob Landley | 2006-01-23 21:38:06 +0000 |
commit | 391a904f46d96430c8462bf077708b7179f4810d (patch) | |
tree | 5bdb4d58c9fb7bad6096a7e889caaeac0da11e96 /e2fsprogs/e2fsbb.h | |
parent | 6130b9b16027d09cacff9da44f3cd6efb57b9c54 (diff) | |
download | busybox-391a904f46d96430c8462bf077708b7179f4810d.zip busybox-391a904f46d96430c8462bf077708b7179f4810d.tar.gz |
Ken McGuire's patch to make mke2fs and e2fsck work on big endian systems like
PPC, with an obligatory couple of swipes from me.
Diffstat (limited to 'e2fsprogs/e2fsbb.h')
-rw-r--r-- | e2fsprogs/e2fsbb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h index 6a3d28c..f8ab0f4 100644 --- a/e2fsprogs/e2fsbb.h +++ b/e2fsprogs/e2fsbb.h @@ -54,4 +54,10 @@ typedef long errcode_t; #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 +/* Endianness */ +#if __BYTE_ORDER== __BIG_ENDIAN +#define ENABLE_SWAPFS 1 +#define WORDS_BIGENDIAN 1 +#endif + #endif /* __E2FSBB_H__ */ |