@ -63,8 +63,10 @@ typedef int bool_t;
# endif
# endif
# if !(defined(L_ENDIAN) || defined(B_ENDIAN))
# if !(defined(L_ENDIAN) || defined(B_ENDIAN))
# if defined(__sparc__) || defined(__PPC__) || defined(__ppc__) || \
# if defined(__sparc__) || \
defined ( __hppa__ )
defined ( __hppa__ ) | | \
( defined ( __PPC__ ) & & defined ( __BIG_ENDIAN__ ) ) | | \
( defined ( __ppc__ ) & & defined ( __BIG_ENDIAN__ ) )
# define B_ENDIAN
# define B_ENDIAN
# else
# else
# define L_ENDIAN
# define L_ENDIAN
@ -75,8 +77,10 @@ typedef int bool_t;
/* check if we need to align data */
/* check if we need to align data */
# if !(defined(NEED_ALIGN) || defined(NO_NEED_ALIGN))
# if !(defined(NEED_ALIGN) || defined(NO_NEED_ALIGN))
# if defined(__sparc__) || defined(__alpha__) || defined(__hppa__) || \
# if defined(__sparc__) || defined(__alpha__) || defined(__hppa__) || \
defined ( __AIX__ ) | | defined ( __PPC__ ) | | defined ( __mips__ ) | | \
defined ( __AIX__ ) | | defined ( __mips__ ) | | \
defined ( __ia64__ ) | | defined ( __ppc__ ) | | defined ( __arm__ )
defined ( __ia64__ ) | | defined ( __arm__ ) | | \
( defined ( __PPC__ ) & & defined ( __BIG_ENDIAN__ ) ) | | \
( defined ( __ppc__ ) & & defined ( __BIG_ENDIAN__ ) )
# define NEED_ALIGN
# define NEED_ALIGN
# elif defined(__x86__) || defined(__x86_64__) || \
# elif defined(__x86__) || defined(__x86_64__) || \
defined ( __AMD64__ ) | | defined ( _M_IX86 ) | | defined ( _M_AMD64 ) | | \
defined ( __AMD64__ ) | | defined ( _M_IX86 ) | | defined ( _M_AMD64 ) | | \