some more big endian fixes

This commit is contained in:
jsorg71
2005-07-10 19:17:09 +00:00
parent 196bfa81d6
commit d349f6920a
4 changed files with 41 additions and 3 deletions
+3 -1
View File
@@ -22,7 +22,9 @@
#define ARCH_H
/* check endianess */
#if __BYTE_ORDER == __LITTLE_ENDIAN
#if defined(__sparc__)
#define B_ENDIAN
#elif __BYTE_ORDER == __LITTLE_ENDIAN
#define L_ENDIAN
#elif __BYTE_ORDER == __BIG_ENDIAN
#define B_ENDIAN