|
|
|
@ -37,6 +37,20 @@
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if !(defined(L_ENDIAN) || defined(B_ENDIAN))
|
|
|
|
|
#if defined(__powerpc64__)
|
|
|
|
|
# if defined(__BIG_ENDIAN__)
|
|
|
|
|
# define B_ENDIAN
|
|
|
|
|
# else
|
|
|
|
|
# define L_ENDIAN
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if !(defined(L_ENDIAN) || defined(B_ENDIAN))
|
|
|
|
|
#if defined(__sparc__) || defined(__PPC__) || defined(__ppc__) || \
|
|
|
|
|
defined(__hppa__)
|
|
|
|
|
#define B_ENDIAN
|
|
|
|
|
#else
|
|
|
|
|
# if defined(__sparc__) || defined(__PPC__) || defined(__ppc__) || \
|
|
|
|
|
defined(__hppa__)
|
|
|
|
|
# define B_ENDIAN
|
|
|
|
@ -45,6 +59,7 @@
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* check if we need to align data */
|
|
|
|
|
#if !(defined(NEED_ALIGN) || defined(NO_NEED_ALIGN))
|
|
|
|
|